Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • DBMS_STATS Metalinks Notes Oracle
  • default permission on ~/.ssh/authorized_keys2 or authorized_keys Linux/Unix
  • sesswait.sql Oracle
  • Drop tempfiles from database Oracle
  • plan10g.sql good Oracle
  • find_err.sql for finding errors from dba_errors. Oracle
  • Windows based Command line mailing program like mailx (Sednmail for windows) PHP/MYSQL/Wordpress
  • Recovering lost SYS password Oracle
  • restarting network in linux Linux/Unix
  • create a folder in multiple places Linux/Unix
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Best approach for Oracle database patching sequence to latest/required patchset along with CPU/PSU/any-other-one-off patch ID 865255.1 Oracle
  • Oracle GoldenGate lag monitoring shell script Linux/Unix
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • Vivek’s egrep commands to trace problem. (on linux x86-64) Linux/Unix

V$transaction notes for finding XID composition.

Posted on 10-Jul-2008 By Admin No Comments on V$transaction notes for finding XID composition.

Notes on v$transaction

The information here contains the view description from the Oracle9i documentation

Earlier versions of Oracle may not include all columns.

The v$transaction view lists the active transactions in the system.

Column Datatype Description

————- ————– ————————————–

ADDR RAW(4) Address of transaction state object

XIDUSN NUMBER Undo segment number

XIDSLOT NUMBER Slot number

XIDSQN NUMBER Sequence number

UBAFIL NUMBER Undo block address (UBA) filenum

UBABLK NUMBER UBA block number

UBASQN NUMBER UBA sequence number

UBAREC NUMBER UBA record number

STATUS VARCHAR2(16) Status

START_TIME VARCHAR2(20) Start time (wall clock)

START_SCNB NUMBER Start system change number (SCN) base

START_SCNW NUMBER Start SCN wrap

START_UEXT NUMBER Start extent number

START_UBAFIL NUMBER Start UBA file number

START_UBABLK NUMBER Start UBA block number

START_UBASQN NUMBER Start UBA sequence number

START_UBAREC NUMBER Start UBA record number

SES_ADDR RAW(4) User session object address

FLAG NUMBER Flag

SPACE VARCHAR2(3) YES if a space transaction

RECURSIVE VARCHAR2(3) YES if a recursive transaction

NOUNDO VARCHAR2(3) YES if a no undo transaction

PTX VARCHAR 2(3) YES if parallel transaction

NAME VARCHAR2(256) Name of a named transaction

PRV_XIDUSN NUMBER Previous transaction undo segment number

PRV_XIDSLT NUMBER Previous transaction slot number

PRV_XIDSQN NUMBER Previous transaction sequence number

PTX_XIDUSN NUMBER Rollback segment number of the parent XID

PTX_XIDSLT NUMBER Slot number of the parent XID

PTX_XIDSQN NUMBER Sequence number of the parent XID

DSCN-B NUMBER Dependent SCN base

DSCN-W NUMBER Dependent SCN wrap

USED_UBLK NUMBER Number of undo blocks used

USED_UREC NUMBER Number of undo records used

LOG_IO NUMBER Logical I/O

PHY_IO NUMBER Physical I/O

CR_GET NUMBER Consistent gets

CR_CHANGE NUMBER Consistent changes

Comments on a few of the columns:

——————————–

XIDUSN Rollback Segment ID } Transaction ID is

XIDSLOT Slot in RBS TX table } USN.SLOT.SQN or

XIDSQN Wrap of the entry } TX-USNxSLOT-SQNxxxxx

UBAFIL File for last undo entry } Tail end of UNDO for

UBABLK Block for last undo entry } this transaction

UBASQN Sequence no of last entry }

UBAREC Record no in the block }

Oracle, SQL scripts

Post navigation

Previous Post: telnet listening
Next Post: longtx.sql

Related Posts

  • Processes Parameter decision Oracle
  • block_ident.sql Oracle
  • get_ratio.sql get the ratio of users from v$session and this uses CASE-WHEN-THEN clause Oracle
  • How to choose Driver table in SQL statement Oracle
  • Recovering lost SYS password Oracle
  • Finding locked objects 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 (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • Space padding in korn shell Linux/Unix
  • DBMS_UTILITY PACKAGE Oracle
  • Difference between SYNC and AFFIRM Oracle
  • chk_space_SID.ksh Linux/Unix
  • eplan9i.sql Oracle
  • ORA-8031 issue and solution if it is occuring due to truncate. Oracle
  • Rman Notes -1 Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme