Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • fkwoind.sql fkwoindex.sql Oracle
  • OEM-troubleshooting on 20-MAY-08 Oracle
  • Load SPM baseline from AWR Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • Unix split command to split files Linux/Unix
  • configUOCIOTTO.ora Oracle
  • pvm_rbs1.sql (to collect rbs info from db) Oracle
  • This is im telling Kishore Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • S3 Basic info AWS
  • Removing Blank lines from file using grep Linux/Unix
  • Validating ORACLE_SID againt oratab file. Linux/Unix
  • How can I tell if ASO is installed ? Oracle
  • find checksum of a file. Linux/Unix
  • Find Time Consuming SQL Statements in Oracle 10g 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

  • Rman Notes -1 Oracle
  • tblwopk.sql /* Find Tables Without PK */ Oracle
  • Another export with Query Oracle
  • 339939.1 Running Cluster Verification Utility to Diagnose Install Problems Oracle
  • DBA_HIST_SQLSTAT contents Oracle
  • DBMS_JOB all example 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 (395)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (343)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • 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

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Renaming the column name Oracle
  • Sending SQLPLUS output in HTML format Oracle
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • move_arch_files.ksh Linux/Unix
  • reset Sequence Oracle
  • Very Good Oralce Internal Tuning Book Oracle
  • Clean up Oracle
  • Oracle Support Metalink ID 161818.1 Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme