Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Generate SSH without password authentication. Linux/Unix
  • online_ts_bkup.sql Oracle
  • 10g RAC: Troubleshooting CRS Root.sh Problems Oracle
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • All About oracle password and security from metalink Oracle
  • Good Doc 28-JUN-2006 Oracle
  • USE_NL and INDEX hints example Oracle
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • scripts to take listener.log backup Linux/Unix
  • My FTP Job Scheduling for www.pvmehta.com PHP/MYSQL/Wordpress
  • FRA Information. Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • Restoring a user’s original password 1051962.101 Oracle
  • Creating never expiring DB user accounts in Oracle Oracle

Committing distributed transaction using commit force

Posted on 22-Jan-2010 By Admin No Comments on Committing distributed transaction using commit force

Committing Using Only the Transaction ID

The following SQL statement commits an in-doubt transaction:

COMMIT FORCE ‘transaction_id’;

The variable transaction_id is the identifier of the transaction as specified in either the LOCAL_TRAN_ID or GLOBAL_TRAN_ID columns of the DBA_2PC_PENDING data dictionary view.

For example, assume that you query DBA_2PC_PENDING and determine that LOCAL_TRAN_ID for a distributed transaction is 1:45.13.

You then issue the following SQL statement to force the commit of this in-doubt transaction:

COMMIT FORCE ‘1.45.13’;

Oracle, SQL scripts

Post navigation

Previous Post: Rollback force for distributed transactions
Next Post: Does DBMS_JOB recompute the NEXT_DATE interval after or before

Related Posts

  • Roles and Stored Object behaviour Oracle
  • Temporary Tablespace Information and restriction. Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • arch_configUOCIOTTO.ora Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • plan10g.sql good 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
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • Good Site for Oracle Internals Oracle
  • Oracle Internal Good Websites 1 Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • To check whether standby is recovering properly or not?? Oracle
  • create a folder in multiple places Linux/Unix
  • Recovering lost SYS password Oracle
  • UTL_FILE test program Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme