Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • Implementation of key based authentications Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • grep multuple patterns Linux/Unix
  • Facts about SCN and Rollback Segment Oracle
  • SCRIPT TO LIST RECURSIVE DEPENDENCY BETWEEN OBJECTS UTLDTREE.sql Oracle
  • check_copy_progress.sh Linux/Unix
  • Committing distributed transaction using commit force Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • on IBM-AIX for display Linux/Unix
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • login.sql Oracle
  • PLSQL Table Syntax 1 Oracle
  • Getting started with notebook Python/PySpark

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

  • db_status.sql Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • TRUNCATE table and disabling referential constraints. Oracle
  • oradebug ipcrm ipcs Oracle
  • oracle Dba site Oracle
  • get_vmstat_linux 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
  • Good link for LIO in Oracle ( Logical IOs) Oracle
  • Generating XML from SQLPLUS Oracle
  • AWR license Oracle
  • How to sort list of files on basis of their sizes. Linux/Unix
  • Find all users who have DML privileges Oracle
  • New Latest Param.sql for finding all hidden parameters also Oracle
  • scripts to take listener.log backup Linux/Unix
  • Finding Oracle Patches with opatch Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme