Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • SAN Linux/Unix
  • Mutating Table Error while using database trigger Oracle
  • proper cpu stats Linux/Unix
  • Implementing Listener Security Oracle
  • When error comes for temporary tablespace with version <= 9i Oracle
  • backspace in SQL Plus not working then..? Linux/Unix
  • Generating XML from SQLPLUS Oracle
  • CPU speed on solaris Linux/Unix
  • Find total file sizes Linux/Unix
  • Jai Shree Ram Oracle
  • tuning commmand for cpu, ip and memory stats Linux/Unix
  • On solaris 10, “S” link is not part of $ORACLE_HOME/bin/oracle as default. ( For 9.2.0.8) Oracle
  • Python class import from different folders Python/PySpark
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix
  • SQL Server Vs Oracle Architecture difference SQL Server

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

  • proc.sql Oracle
  • Export Oracle data and Compress at same time Oracle
  • TNSNAMES entries details Oracle
  • tblwopk.sql tablewopk.sql Oracle
  • Roles and Stored Object behaviour Oracle
  • sbind.sql Find Bind variable from sql_id sqlid 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 (392)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (0)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (341)
  • SQL Server (6)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • 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
  • MYSQL and Oracle Comparison for Oracle DBA24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • How to Make Trace Files Created by Oracle Readable by All Users ? Oracle
  • fuser to check who is using diretory Linux/Unix
  • Find_stale_dr.sql finding stale physical DR.. Oracle
  • To check whether standby is recovering properly or not?? Oracle
  • note id 373303.1 Linux/Unix
  • Sending SQLPLUS output in HTML format Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • changing kernel parameter in Oracle Enterpise Linux Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme