Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • v$event_name Oracle
  • Good Link from metalink 1 Oracle
  • sid_wise_cursor.sql find open cursor basis on username or SID Oracle
  • Rename Tablespace Oracle
  • Find_table_size.sql Oracle
  • findobj.sql Oracle
  • Find sort details from Db find_sort.sql Oracle
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 Oracle
  • Parallel DML Oracle
  • scripts to take listener.log backup Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • ORA-1841 Error Connecting to Upgraded Database After Set PASSWORD_LIFE_TIME Oracle
  • Insert cause enqueue locks Oracle
  • Oracle Release Explaination Oracle
  • oracle tips… from http://www.bijoos.com/oracle/douknow.htm Oracle

Pending Transaction Neighbors Script

Posted on 03-Feb-2010 By Admin No Comments on Pending Transaction Neighbors Script

COL LOCAL_TRAN_ID FORMAT A13

COL IN_OUT FORMAT A6

COL DATABASE FORMAT A25

COL DBUSER_OWNER FORMAT A15

COL INTERFACE FORMAT A3

SELECT LOCAL_TRAN_ID, IN_OUT, DATABASE, DBUSER_OWNER, INTERFACE

FROM DBA_2PC_NEIGHBORS

/

SQL> CONNECT SYS@hq.acme.com AS SYSDBA

SQL> @neighbors_script

LOCAL_TRAN_ID IN_OUT DATABASE DBUSER_OWNER INT

————- —— ————————- ————— —

1.15.870 out SALES.ACME.COM SYS C

Oracle, SQL scripts

Post navigation

Previous Post: Pending Distributed Transations
Next Post: Deleting first line and lastline of a file using sed

Related Posts

  • Caching sequence in Memory Oracle
  • Adding Datafile on Primary Server and Impact on Standby Server Oracle
  • Another export with Query Oracle
  • EXTPROC Oracle
  • Temporary Tablespsace Temp tablespace behaviour Oracle
  • FGA Part-I 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • usnsql.sql Displays information about UNDO segments with sql statements Oracle
  • move_arch_files.ksh Linux/Unix
  • Wait time tuning research Oracle
  • Absolute file number and relative file number Oracle
  • find_longsql.sql Oracle
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • find_cons.sql Oracle
  • Good Site for Oracle Internals Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme