Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Updated LCK.SQL file. Oracle
  • Follwoing korn shell is used to move files from source folder to destination folder and gzip it in destination folder. mv_iotto.ksh Linux/Unix
  • Benefits and Usage of RMAN with Standby Databases Oracle
  • Roles and Stored Object behaviour Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • adding new line after specific pattern using sed Linux/Unix
  • Find Command Linux/Unix
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • Removing Ctrl-M from end of line using vi Linux/Unix
  • replace alphabets using sed Linux/Unix
  • Add new columns in dataframe Python/PySpark
  • logminer and my_lbu Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • DBMS_STATS Metalinks Notes 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

  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Drop all SPM baselines for SQL handle Oracle
  • Sample WW22 listener.ora Oracle
  • In Addition to previous note, following grants needed on PERFSTAT user. Oracle
  • V$ROLLSTAT status is Full Oracle
  • Find_stale_dr.sql finding stale physical DR.. 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 (402)
  • 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

  • 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
  • Creating a Container Database using dbaascli08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Zip and unzip with tar Linux/Unix
  • DBMS_UTILITY PACKAGE Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • Shuffle an array PHP/MYSQL/Wordpress
  • Complete Git Tutorial for Beginners GIT
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • on IBM-AIX for display Linux/Unix
  • pvm_pre_change.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme