Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Processes Parameter decision Oracle
  • Running some SQL on multiple databases connecting using monitoring userid and password Linux/Unix
  • lck.sql Oracle
  • Metalink Note: Note:250655.1 : ADDM Basics USING THE AUTOMATIC DATABASE DIAGNOSTIC MONITOR Oracle
  • Read CSV file using PySpark Python/PySpark
  • Building Our Own Namespaces with “Create Context” Oracle
  • Oracle 11g Training on 29JAN1010 Oracle
  • Looping for remote servers and find its database from oratab file. Linux/Unix
  • refre.sql Oracle
  • Implementing Listener Security Oracle
  • Updated LCK.SQL file. Oracle
  • send attachment from unix-shell script Linux/Unix
  • pvm_metric.sql for gathering report from vmstat tables Oracle
  • Processes parameter and its dependencies on OS kernel parameters Linux/Unix
  • DETERMINING WHICH INSTANCE OWNS WHICH SHARED MEMORY & SEMAPHORE SEGMENTS 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

  • Oracle Metalink useful notes Oracle
  • Oracle 10g Wait Model Oracle
  • Building Our Own Namespaces with “Create Context” Oracle
  • New OFA for 11g Oracle
  • The most important Tuning Notes Oracle
  • This is from Temi 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
  • How can I tell if ASO is installed ? Oracle
  • proper cpu stats Linux/Unix
  • Monitor and Trace Unix processes using truss Linux/Unix
  • TNSNAMES entries details Oracle
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • OEM-Commnds Oracle
  • Find all users who have DML privileges Oracle
  • To find explain plan for a statement that occurred in past. Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme