Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Getting started with notebook Python/PySpark
  • v$backup.status information Oracle
  • chk_space_SID.ksh Linux/Unix
  • How to calculate PROCESSES parameter Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • PHP code to add WordPress posts in bulk programmatically PHP/MYSQL/Wordpress
  • catting.sh Linux/Unix
  • sid_wise_sql.sql Oracle
  • Drop tempfiles from database Oracle
  • sesswait.sql Oracle
  • proper cpu stats Linux/Unix
  • import-export with multiple files Oracle
  • Jai Shree Ram Linux/Unix
  • get_vmstat.ksh for Solaris Oracle
  • Settting up get_vmstat.sh for colletinf CPU Usage. 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

  • oracle Dba site Oracle
  • sql_plan9i.sql Oracle
  • get_vmstat.ksh for Solaris Oracle
  • find_idle_cpu.sql Oracle
  • v$event_name Oracle
  • Good Link from metalink 1 Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Space padding in korn shell Linux/Unix
  • send attachment from unix-shell script Linux/Unix
  • TNSNAMES entries details Oracle
  • replace alphabets using sed Linux/Unix
  • True Session Wait Activity in Oracle 10g Verygood Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • How to set Processes Parameter Oracle
  • Clean up Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme