Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • Insert cause enqueue locks Oracle
  • Temporary tablespace explaination Oracle
  • Finding last recovered file on DR and remove all chanracters before any “/” Linux/Unix
  • rm_backup_arch_file.ksh Linux/Unix
  • shr1.sql for MTS or Shared server configuration Oracle
  • Search and replace pattern Linux/Unix
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • Privilege to describe the table. Oracle
  • Optimizer SORT Operations Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • TRUNCATE Privs Oracle
  • Wait time tuning research Oracle
  • cur_sql.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

  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • Ports used by Oracle Software Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • Global Unique Identifier Generation in Oracle 9.2 SYS_GUID() Oracle
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • currwaitobj.sql SQl_ID and SQL statement you can get from currwaitobj.sql 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Generating XML from SQLPLUS Oracle
  • Oracle Identifiers Oracle
  • Transfer SQL Profiles from One database to other database. Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • export import with parameter file. Oracle
  • v$event_name Oracle
  • findobj.sql Oracle
  • Load testing on Oracle 19C RAC with HammerDB Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme