Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Some OS level threshold for performance. Linux/Unix
  • Rman Notes -1 Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • find checksum of a file. Linux/Unix
  • 10g oem configuration Oracle
  • MYSQL for Oracle DBA MYSQL
  • metalink all dynamic view reference notes. Oracle
  • move_arch_files.ksh /* Good One */ Linux/Unix
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • Backup and Recovery Scenarios Oracle
  • Rename Oracle Instance Name Oracle
  • Rman Notes -1 Oracle
  • Oracle Recommended Patches — Oracle Database ID 756671.1 Oracle
  • get_vmstat.ksh for Solaris Oracle

Distributed Transaction Troubleshooting.

Posted on 08-Feb-2010 By Admin No Comments on Distributed Transaction Troubleshooting.

SQL> select * from sys.pending_trans$ where local_tran_id = ‘26.2.2712168’;

no rows selected

SQL> select * from sys.pending_sessions$ where local_tran_id = ‘26.2.2712168’;

no rows selected

SQL> select * from sys.pending_sub_sessions$ where local_tran_id = ‘26.2.2712168’;

no rows selected

SQL> select * from dba_2pc_neighbors;

no rows selected

SQL> select * from dba_2pc_pending;

no rows selected

SQL> commit force ‘26.2.2712168’;

commit force ‘26.2.2712168’

*

ERROR at line 1:

ORA-02058: no prepared transaction found with ID 26.2.2712168

SQL> rollback force ‘26.2.2712168’;

rollback force ‘26.2.2712168’

*

ERROR at line 1:

ORA-02058: no prepared transaction found with ID 26.2.2712168

SQL> EXECUTE DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY(‘26.2.2712168’);

BEGIN DBMS_TRANSACTION.PURGE_LOST_DB_ENTRY(‘26.2.2712168’); END;

*

ERROR at line 1:

ORA-30019: Illegal rollback Segment operation in Automatic Undo mode

ORA-06512: at “SYS.DBMS_TRANSACTION”, line 65

ORA-06512: at “SYS.DBMS_TRANSACTION”, line 85

ORA-06512: at line 1

SELECT KTUXEUSN, KTUXESLT, KTUXESQN, /* Transaction ID */

KTUXESTA Status,

KTUXECFL Flags

FROM x$ktuxe

WHERE ktuxeusn= 26;

no rows selected

Oracle, SQL scripts

Post navigation

Previous Post: Deleting first line and lastline of a file using sed
Next Post: Query to Generate aggregate on every 30 mins.

Related Posts

  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • Find_table_size.sql Oracle
  • Find Stale DR Physical Standby Oracle
  • dbinv.sql Oracle
  • This is im telling Kishore Oracle
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle

Leave a Reply Cancel reply

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

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • 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

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • 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

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Goldengate document from Porus Oracle
  • Monitor and Trace Unix processes using truss Linux/Unix
  • sql_plan9i.sql Oracle
  • plan10g.sql Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • runsql_once.ksh Linux/Unix
  • Multiple listeners Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme