Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Set Role explaination. Oracle
  • How to calculate PROCESSES parameter Oracle
  • Test Case for Inserting Multiple (2.3 Million rows in 26 Seconds) Oracle
  • Oracle Identifiers Oracle
  • currwait.sql Oracle
  • plan10g.sql good1 Oracle
  • New OFA for 11g Oracle
  • First Entry in RAC Oracle
  • Rename Oracle Instance Name Oracle
  • get_aix_vmstat.ksh Oracle
  • oracle 10g on linux Linux/Unix
  • Oracle 10g for solaris 10 Oracle
  • Goldengate Tutorial Oracle
  • SQL Server Vs Oracle Architecture difference SQL Server
  • V$transaction notes for finding XID composition. 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

  • 284785.1 How to check RAC Option is currently linked into the Oracle Binary Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Goldengate Tutorial Oracle
  • Oracle Statspack survival Guide Oracle
  • TNSNAMES entries details Oracle
  • Very Good Oralce Internal Tuning Book 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 (393)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • 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

  • 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
  • Oracle vs MYSQL Architecture differences (For DBAs)24-Jul-2025

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Changing unix system clock when Oracle database is running. Oracle
  • scripts to take listener.log backup Linux/Unix
  • v$event_name Oracle
  • Establishing trusted relationship between dbmonitor( central monitoring) and monitoring targets. Linux/Unix
  • chk_space_SID.ksh Linux/Unix
  • All About Trace Fils Oracle
  • V$ROLLSTAT status is Full Oracle
  • To Find Orphan OS processes. Linux/Unix

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme