Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • This is from Temi Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • Changing unix system clock when Oracle database is running. Oracle
  • Processes Parameter decision Oracle
  • Good Oracle Architecture In Short and point to point Oracle
  • Explain Plan Output 2 Oracle
  • shutdown linux Linux/Unix
  • checking connectivity between two servers Linux/Unix
  • to see when crontab is changed. Linux/Unix
  • Renaming Oracle Instance Name Oracle
  • Small sample shell program Linux/Unix
  • Proc code Oracle
  • Find_planinfo.sql Oracle
  • Find Command Linux/Unix
  • get_vmstat_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

  • create database link syntax Oracle
  • ext#.sql Oracle
  • Jai Shree Ram Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • configUOCIOTTO.ora Oracle
  • All Hints for Oracle Databases Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (392)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • load SPM baseline from cursor cache05-Jun-2025
  • Drop all SPM baselines for SQL handle05-Jun-2025
  • Load SPM baseline from AWR05-Jun-2025
  • Drop specific SQL plan baseline – spm05-Jun-2025
  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • Python class import from different folders Python/PySpark
  • Oracle 11g Environment Setup Oracle
  • cur_sql.sql Oracle
  • Composite Index creation tip from Vivek Oracle
  • Monitor Long Running Job Oracle
  • Library cahe Latches and internal explaination Oracle
  • Getting started with notebook Python/PySpark

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme