Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • scp with ssh2 Linux/Unix
  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • catall.sh Linux/Unix
  • UTL_FILE test program Oracle
  • JSON/XML Types in Oracle Oracle
  • proc.sql Oracle
  • scripts to take listener.log backup Linux/Unix
  • Oracle Identifiers Oracle
  • How to see which patches are applied. Oracle
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • Search and Replace vi editor command. Linux/Unix
  • Pending Distributed Transations Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Session_info.ksh Linux/Unix
  • Add new columns in dataframe Python/PySpark

Rollback force for distributed transactions

Posted on 22-Jan-2010 By Admin No Comments on Rollback force for distributed transactions

FORCE Clause

Specify FORCE to manually roll back an in-doubt distributed transaction. The transaction is identified by the text containing its local or global transaction ID. To find the IDs of such transactions, query the data dictionary view DBA_2PC_PENDING.

A ROLLBACK statement with a FORCE clause rolls back only the specified transaction. Such a statement does not affect your current transaction.

Restriction on Forcing Rollback

ROLLBACK statements with the FORCE clause are not supported in PL/SQL.

The following statement manually rolls back an in-doubt distributed transaction:

SQL> ROLLBACK FORCE ‘25.32.87’;

Oracle, SQL scripts

Post navigation

Previous Post: How to find password change date for user
Next Post: Committing distributed transaction using commit force

Related Posts

  • Find Stale DR Physical Standby Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • PLSQL Table Syntax 1 Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • dbinv.sql Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • fkwoindex.sql /* Find FK without Index */ Oracle
  • ORA-01220 Oracle
  • Kill a session dynanically using execute immediate Oracle
  • Good Doc 28-JUN-2006 Oracle
  • replace alphabets using sed Linux/Unix
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • findx.sql /* Find Indexes on specified USER.TABLE_NAME */ Oracle
  • JSON/XML Types in Oracle Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme