Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • JSON/XML Types in Oracle Oracle
  • Find Stale DR Physical Standby Oracle
  • Oracle 10g Installation/Applying Patches Tips Oracle
  • cur_sql.sql Oracle
  • Rownum with Order by Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • How to analyze statspack or AWR report. Oracle
  • UNderstand and eliminate Latch contention. Oracle
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • DBMS_STATS Metalinks Notes Oracle
  • Create type and Grant on it. Oracle
  • Nice notes on wait events Oracle
  • fdisk -l explaination about Primary-Logical-Extended Partitions Linux/Unix
  • avail.sh ( find filesystem spae usage) Linux/Unix
  • Reading config file from other folder inside class Python/PySpark

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

  • Export Import with QUERY Oracle
  • Facts about SCN and Rollback Segment Oracle
  • Renaming Global Name GLOBAL_NAME Oracle
  • Roles and Stored Procs II Oracle
  • Good Site for Oracle Internals Oracle
  • Proc Compilation Oracle

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • MYSQL (5)
  • Oracle (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • 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

  • 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
  • V$INSTANCE of Oracle in MYSQL24-Jul-2025
  • Day to day MYSQL DBA operations (Compared with Oracle DBA)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Histogram information Oracle
  • Find long Running Transaction Linux/Unix
  • JSON/XML Types in Oracle Oracle
  • Find_table_size.sql Oracle
  • restarting network in linux Linux/Unix
  • Wait time tuning research Oracle
  • create database link syntax Oracle
  • how to find OS block size Oracle

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme