Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • dbinv.sql Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Free conference number from http://www.freeconference.com Oracle
  • Running select from V$ views from remote server Linux/Unix
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • Logic to chech # of parameters command line parameters Linux/Unix
  • create database syntax Oracle
  • Rman Notes -1 Oracle
  • handling filenname with space Linux/Unix
  • DBMS_Shared_pool pinning triggers Oracle
  • Read CSV file using PySpark Python/PySpark
  • age_alert.ksh aging out alert.log Linux/Unix
  • Load SPM baseline from AWR Oracle
  • get_aix_vmstat.ksh 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

  • OEM-Commnds Oracle
  • ORA-00064: object is too large to allocate on this O/S during startup Oracle
  • sqlnet.ora paramters Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • plan10g.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
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • good note for shared pool tunnig Oracle
  • cp_filesystem.sql Oracle
  • DBMS_UTILITY.ANALYZE_SCHEMA Oracle
  • get_vmstat_linux Oracle
  • compile_inv.sql Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme