Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How to find Unix server conguraiton including Server Model number and underlying disk sub-system ( On Solaris) Linux/Unix
  • ORA-4031 issue and solution on 09-MAY-2008 Oracle
  • For Search and replace unix command. Linux/Unix
  • segment_wise_space.sql segspace.sql Segment wise space usage (allocated and used) Oracle
  • age_alert.ksh aging out alert.log Linux/Unix
  • Important Script Method for tuning Oracle
  • find_err.sql for finding errors from dba_errors. Oracle
  • Search and Replace vi editor command. Linux/Unix
  • good linux notes Linux/Unix
  • Jai Shree Ram Linux/Unix
  • Virtual Indexes in Oracle Oracle
  • newupload.html PHP/MYSQL/Wordpress
  • How to change hostname in Linux Linux/Unix
  • How to calculate PROCESSES parameter Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql 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

  • sqlnet.ora paramters Oracle
  • import-export with multiple files Oracle
  • How to start CRS manually Oracle
  • OPENING A STANDBY DATABASE IN READ-ONLY MODE Oracle
  • Oracle Standby Database Library Index from Metalink Oracle
  • How to Modify the statistics collection by MMON for AWR repository Oracle

Leave a Reply Cancel reply

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

Categories

  • AWS (2)
  • Azure (1)
  • Linux/Unix (149)
  • Oracle (388)
  • PHP/MYSQL/Wordpress (10)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (149)
  • SQL scripts (337)
  • Uncategorized (0)
  • Videos (0)

Recent Posts

  • findinfo.sql (SQL for getting CPU and Active session info)27-May-2025
  • SQL Tracker by SID sqltrackerbysid.sql22-Apr-2025
  • How to connect to Oracle Database with Wallet with Python.21-Mar-2025
  • JSON/XML Types in Oracle18-Mar-2025
  • CPU Core related projections12-Mar-2025
  • Exadata Basics10-Dec-2024
  • Reading config file from other folder inside class24-Sep-2024
  • Python class import from different folders22-Sep-2024
  • Transfer SQL Profiles from One database to other database.05-Sep-2024
  • Load testing on Oracle 19C RAC with HammerDB18-Jan-2024

Archives

  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • Building Our Own Namespaces with “Create Context” Oracle
  • SQL Tracker by SID sqltrackerbysid.sql Oracle
  • send email from unix mailx with attachment. Linux/Unix
  • plan10g.sql good Oracle
  • For Perl DBI installation and testing program PHP/MYSQL/Wordpress
  • How to sort list of files on basis of their sizes. Linux/Unix
  • create a folder in multiple places Linux/Unix
  • Shuffle an array PHP/MYSQL/Wordpress

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme