Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Rename Tablespace Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • shutdown linux Linux/Unix
  • newupload.html PHP/MYSQL/Wordpress
  • find_cons.sql Oracle
  • Locktree.sql Oracle
  • How to specify 2 arch location to avoid any kind of DB hanging. Oracle
  • before_trunc.sql Before Truncate table needs to execute following: Oracle
  • create PLAN_TABLE command. Oracle
  • useful dg links Oracle
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • copying/removing directory with all its subdirectory Linux/Unix
  • Jai Shree Ram PHP/MYSQL/Wordpress
  • SQL_PROFILE – I explaination Oracle
  • find_log_switch.sql Find log switches in graphical manner 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

  • TOP-N Sql to find Nth max or Top N rows Oracle
  • Sequence Resetting Oracle
  • block_ident.sql Oracle
  • Oracle 10g for solaris 10 Oracle
  • refre.sql for multitenant Oracle
  • Renaming Oracle Instance Name 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 (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • 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.sh23-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
  • Search and replace editor command in vi Linux/Unix
  • Jai Shree Ram Oracle
  • Rownum with Order by Oracle
  • Implementing Listener Security Oracle
  • v$event_name Oracle
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • dbms_job.submit example Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme