Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to see which patches are applied. Oracle
  • How To Limit The Access To The Database So That Only One User Per Schema Are Connected (One Concurrent User Per Schema) Oracle
  • get_vmstat_solaris Oracle
  • metalink all dynamic view reference notes. Oracle
  • Directory wise folder wise space usage Linux/Unix
  • Import and export statements Oracle
  • Pending Transaction Neighbors Script Oracle
  • ipcs -l Linux/Unix
  • Oracle 10g for solaris 10 Oracle
  • Oracle 11g Environment Setup Oracle
  • Goog notes on X$ tables Oracle
  • Btee and Bitmap Plans in Oracle 9i and higher Oracle
  • V$INSTANCE of Oracle in MYSQL MYSQL
  • rm_backup_arch_file.ksh Linux/Unix
  • tracksqltime.sql 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

  • Explain Plan Output 2 Oracle
  • Trace a SQL session from another session using ORADEBUG Oracle
  • v$backup.status information Oracle
  • Oracle Metalink useful notes Oracle
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • Load testing on Oracle 19C RAC with HammerDB 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 (394)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • tracksqltime.sql05-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Convert multiple rows to single column Oracle
  • Good Doc 28-JUN-2006 Oracle
  • Difference between SYNC and AFFIRM Oracle
  • Rownum with Order by Oracle
  • Find Time Consuming SQL Statements in Oracle 10g Oracle
  • ext#.sql Oracle
  • nfs mount command Linux/Unix
  • pvm_pre_change.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme