Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Oracle Release Explaination Oracle
  • find_log_switch.sql Find log switches in graphical manner Oracle
  • adding new line after specific pattern using sed Linux/Unix
  • catting.sh Linux/Unix
  • cur_sql.sql Oracle
  • sqlnet.ora paramters Oracle
  • To see only files and/or folders using LS command Linux/Unix
  • Find long Running Transaction Linux/Unix
  • Implementation of key based authentications Linux/Unix
  • checking redhat linux version Linux/Unix
  • database trigger failing Oracle
  • Find All internal Parameters Oracle
  • Oracle Internal Good Websites 1 Oracle
  • Optimizer_Index init.ora parameter explaination. Oracle
  • DBMS_PROFILER for tuning PLSQL programs. 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

  • dbinv.sql Oracle
  • Facts about SCN and Rollback Segment Oracle
  • standard Monitoring – 1 Oracle
  • SQL_PROFILE – I explaination Oracle
  • sql_doing_fts.sql Oracle
  • Rman Notes -1 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
  • 276434.1 Modifying the VIP or VIP Hostname of a 10g or 11g Oracle Clusterware Node Oracle
  • RMAN : Consistent Backup, Restore and Recovery using RMAN Oracle
  • Good Link from metalink 1 Oracle
  • sid_wise_sql.sql Oracle
  • proper cpu stats Linux/Unix
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • load SPM baseline from cursor cache Oracle
  • Jai Shree Ram Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme