Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • good note for shared pool tunnig Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • Goldengate Tutorial Oracle
  • proc.sql Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • sql_plan9i.sql Oracle
  • More info about /proc folder and its relation with processes. Linux/Unix
  • Read CSV file using PySpark Python/PySpark
  • reset Sequence Oracle
  • 751131.1 New Article Error 2819 While Requesting a Systemstate Dump Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Privileges Required to Create Procedures and Functions that uses objects from other schema. Oracle
  • How to stop OCSSD Daemon Oracle
  • currwait.sql 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

  • find_pk.sql /* Find Primary Key */ Oracle
  • Generating XML from SQLPLUS Oracle
  • CTAS with LONG Column for 7.x and 8 and 8i Oracle
  • CPU Core related projections AWS
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • Load testing on Oracle 19C RAC with HammerDB 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 (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (350)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • 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.sql23-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
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • To find explain plan for a statement that occurred in past. Oracle
  • pvm_pre_change.sql Oracle
  • oradebug ipcrm ipcs Oracle
  • Changing unix system clock when Oracle database is running. Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • ORA-01220 Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme