Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • nfs mount command Linux/Unix
  • Goldengate Tutorial Oracle
  • tab.sql Oracle
  • v$event_name Oracle
  • How to start CRS manually Oracle
  • Standby Database Behavior when a Datafile is Resized on the Primary Database Note:123883.1 Oracle
  • rm_backup_arch_file.ksh Linux/Unix
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Find nth max and min. Oracle
  • Good Link from metalink 1 Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • Generate SSH without password authentication. Linux/Unix
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • Gathering statistics with DBMS_STATS Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle

usnsql.sql Displays information about UNDO segments with sql statements

Posted on 27-Mar-2006 By Admin No Comments on usnsql.sql Displays information about UNDO segments with sql statements

select /*+ ALL_ROWS */ a.usn, a1.name, a.extents, a.hwmsize, a.status usn_status,

b.start_date, b.status tx_status,

c.sid, c.sql_id,

d.sql_text

from v$rollstat a, v$rollname a1, v$transaction b, v$session c, v$sqlarea d

where a.usn = b. xidusn

and a.usn = a1.usn

and b.ses_addr = c.saddr

and c.sql_id = d.sql_id;

Oracle, SQL scripts

Post navigation

Previous Post: Drop tempfiles from database
Next Post: fkwoind.sql fkwoindex.sql

Related Posts

  • Find all users who have DML privileges Oracle
  • Locally Managed Tablespace and Dictionary managed tablespace (LMT-DMT) Oracle
  • Another export with Query Oracle
  • cache buffer chain latch Oracle
  • ENQ: KO – FAST OBJECT CHECKPOINT tips Oracle
  • Drop tempfiles from database 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
  • Reclaim temp tablespace for oracle 8, 8i Oracle
  • Recovering lost SYS password Oracle
  • How to start CRS manually Oracle
  • backspace in SQL Plus not working then..? Linux/Unix
  • Kernel Parameter setting explaination for Processes Parameter Linux/Unix
  • how to find VIP from ifconfig Linux/Unix
  • Identical Dblink Issue… Oracle
  • nfs mount command Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme