Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Optimizer SORT Operations Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • Add new columns in dataframe Python/PySpark
  • scripts to take listener.log backup Linux/Unix
  • Query to Generate aggregate on every 30 mins. Oracle
  • Unix command for system configuration Linux/Unix
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • Find total file sizes Linux/Unix
  • oracle fast start failover best practice Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • DBMS_STATS Metalinks Notes Oracle
  • reset Sequence Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • USE_NL and INDEX hints example 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

  • Jai Shree Ram Oracle
  • TRUNCATE Privs Oracle
  • How to know current SID Oracle
  • sql_plan9i.sql Oracle
  • SQL_PROFILE – I explaination Oracle
  • Rman Notes -1 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 (400)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (348)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • 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
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Renaming Global Name GLOBAL_NAME Oracle
  • Sort with ASCII order and Numeric Order Linux/Unix
  • DBMS_UTILITY PACKAGE Oracle
  • create PLAN_TABLE command. Oracle
  • dbms_job.submit example Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • How to Use DBMS_STATS to Move Statistics to a Different Database Oracle
  • All Hints for Oracle Databases Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme