Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • To Find Orphan OS processes. Linux/Unix
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • S3 Basic info AWS
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • Exadata Basics Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • New OFA for 11g Oracle
  • How to connect to Oracle Database with Wallet with Python. Oracle
  • upload.html PHP/MYSQL/Wordpress
  • Implementation of key based authentications Linux/Unix
  • How to find where datafile is created dbf_info.sql Oracle
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle

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

  • Renaming Oracle Instance Name Oracle
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • Temporary tablespace explaination Oracle
  • Flowers Resize datafiles Oracle
  • How to know current SID Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. 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 (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Useful Solaris Commands on 28-SEP-2005 Linux/Unix
  • How to change hostname in Linux Linux/Unix
  • Oracle Connections expire_time and firewall Oracle
  • DB Console Mainenance. Oracle
  • find_string_in_database.sql Oracle
  • Jai Shree Ram Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Jai Shree Ram Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme