Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Generate SSH without password authentication. Linux/Unix
  • Temporary tablespace explaination Oracle
  • To see how much time or progress of long transaction Oracle
  • Remove DOS CR/LFs (^M) Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • Monitor and Trace Unix processes using truss Linux/Unix
  • executing Function from SQLPLUS prompt Oracle
  • find checksum of a file. Linux/Unix
  • Example of How To Resize the Online Redo Logfiles Note:1035935.6 Oracle
  • Facts about SCN and Rollback Segment Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • Trace a SQL session from another session using ORADEBUG Oracle
  • Rman Notes -1 Oracle
  • OEM-Commnds Oracle
  • SAT Mathematics 10 questions and answer at the end. Uncategorized

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

  • Kill a session dynanically using execute immediate Oracle
  • Adding or Dropping Online Redo Log Files When Physical Standby in place Oracle
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • Sample WW22 listener.ora Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • Difference between SYNC and AFFIRM Oracle

Leave a Reply Cancel reply

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

Categories

  • AMC10 (0)
  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (6)
  • Videos (0)

Recent Posts

  • AMC1020-Sep-2026
  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • tar and untar a dolder with all its subfolder. Linux/Unix
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • Find nth max and min. Oracle
  • Proc code Oracle
  • Oracle Material from OTN Oracle
  • how to find VIP from ifconfig Linux/Unix
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme