Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • move_arch_files.ksh Linux/Unix
  • Remove DOS CR/LFs (^M) Linux/Unix
  • Debugging Shell FIles Linux/Unix
  • How To Transfer Passwords Between Databases (ref note: 199582.1) Oracle
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • How to Decide upto what level you can decrement your datafile size. ( Shrink Datafile) Oracle
  • Find long Running Transaction Linux/Unix
  • To Find Orphan OS processes. Linux/Unix
  • create user with unlimited quota Oracle
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Sending SQLPLUS output in HTML format Oracle
  • Database logon trigger issue Oracle
  • When to rebuld B-tree index Oracle
  • ORA-3136 Oracle
  • Nice Article about semaphores and init.ora Processes parameter relations Linux/Unix

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

  • UTL_FILE test program Oracle
  • Creating never expiring DB user accounts in Oracle Oracle
  • Drop database in Oracle 10g Oracle
  • SQLPLUS COPY command Precautions. Oracle
  • How do I get Oracle to automatically start when my server boots up? Oracle
  • DBMS_SQL for alter session. 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
  • mutex in Oracle 10.2.0.2 or Oracle 10g Oracle
  • exp syntax in oracle 10g Oracle
  • initUOCIOTTO.ora Oracle
  • To seee semaphores and shared memory segments in Solaris Linux/Unix
  • Explain Plan Doesn’T Change For Sql After New Statistics Generated Oracle
  • Insert cause enqueue locks Oracle
  • Implementing Listener Security Oracle
  • Unix split command to split files Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme