Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Jai Shree Ram Linux/Unix
  • Adding a new disk and mount it automatically. on VMWARE LINUX Linux/Unix
  • checking redhat linux version Linux/Unix
  • sess_server.sql Oracle
  • findinfo.sql (SQL for getting CPU and Active session info) Oracle
  • upload.html PHP/MYSQL/Wordpress
  • UNderstand and eliminate Latch contention. Oracle
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • dbms_job.submit example Oracle
  • Caching sequence in Memory Oracle
  • How to stop OCSSD Daemon Oracle
  • Flowers Resize datafiles Oracle
  • Find Plan Hash value fphv.sql Oracle

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

  • SQL_PROFILE – I explaination Oracle
  • Standby Database File Management in 10g with STANDBY_FILE_MANAGEMENT Oracle
  • Find Stale DR Physical Standby Oracle
  • standard Monitoring – 1 Oracle
  • sbind.sql Find Bind variable from sql_id sqlid Oracle
  • Export Import with QUERY 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (342)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • Complete Git Tutorial for Beginners25-Dec-2025
  • Postgres DB user and OS user.25-Dec-2025
  • Trace a SQL session from another session using ORADEBUG30-Sep-2025
  • SQL Server Vs Oracle Architecture difference25-Jul-2025
  • SQL Server: How to see historical transactions25-Jul-2025
  • SQL Server: How to see current transactions or requests25-Jul-2025
  • T-SQL Vs PL/SQL Syntax25-Jul-2025
  • Check SQL Server edition25-Jul-2025
  • Checking SQL Server Version25-Jul-2025
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • SQL_PROFILE – I explaination Oracle
  • 10g oem configuration Oracle
  • Find total file sizes Linux/Unix
  • Find_planinfo.sql Oracle
  • useful dg links Oracle
  • FRA Information. Oracle
  • SYSOPER Mystery Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme