Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Library cahe Latches and internal explaination Oracle
  • Display the top 5 salaries for each department using single SQL Oracle
  • MYSQL for Oracle DBA MYSQL
  • TOP-N Sql to find Nth max or Top N rows Oracle
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • Good Link from metalink 1 Oracle
  • chk_space_SID.ksh Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • SQL Server: How to see current transactions or requests SQL Server
  • adding new line after specific pattern using sed Linux/Unix
  • Settting up get_vmstat.sh for colletinf CPU Usage. Oracle
  • catting.sh Linux/Unix
  • Roles and Stored Procs II Oracle
  • Kill a session dynanically using execute immediate Oracle
  • dbms_job.submit example 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

  • Distributed Transaction Troubleshooting. Oracle
  • Find Stale DR Physical Standby Oracle
  • DBMS_STATS Metalinks Notes Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Gathering statistics with DBMS_STATS Oracle
  • cur_sql.sql 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
  • Privilege to describe the table. Oracle
  • Good Link from metalink 1 Oracle
  • sql_plan9i.sql Oracle
  • grep multuple patterns Linux/Unix
  • Absolute file number and relative file number Oracle
  • Ports used by Oracle Software Oracle
  • v$backup.status information Oracle
  • How can I tell if ASO is installed ? Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme