Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • oracle 11g RAC on vmware Oracle
  • _B_TREE_BITMAP_PLANS issue during 8.1.7 to 9.2.0.8 upgrade Oracle
  • Giving Grant on v$DATABASE Oracle
  • load SPM baseline from cursor cache Oracle
  • Temporary tablespace explaination Oracle
  • SQLPLUS COPY command Precautions. Oracle
  • runsql_once.ksh Linux/Unix
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Passing from Unix to PLSQL using bind variables Linux/Unix
  • eplan9i.sql Oracle
  • sid_wise_sql.sql Oracle
  • Disbaling DBA_SCHEDULER_JOBS Oracle
  • Move WordPress site from one hosting service to other. PHP/MYSQL/Wordpress
  • switchlogfile.sh Linux/Unix
  • 272332.1 CRS 10g Diagnostic Collection Guide 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

  • Proc Compilation Oracle
  • Database link password in user_db_links Oracle
  • Oracle10g – Using SQLAccess Advisor (DBMS_ADVISOR) with the Automatic Workload Repository Oracle
  • How to find the real execution plan and binds used in that explain plan in Oracle 10g?? Oracle
  • Committing distributed transaction using commit force Oracle
  • Monitor Long Running Job 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
  • create PLAN_TABLE command. Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • Physical Standby switchover with session active Oracle
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • Oracle 11g RAC on OEL 5 and Vmware 2 Oracle
  • find_string_in_database.sql Oracle
  • Drop tempfiles from database Oracle
  • Zip and unzip with tar Linux/Unix

Copyright © 2025 pvmehta.com.

Powered by PressBook News WordPress theme