Query To check UNDO tablespace usage: ================================ set linesize 152 col tablespace_name for a20 col status for a10 select tablespace_name,status,count(extent_id) "Extent Count", sum(blocks) "Total Blocks",sum(bytes)/(1024*1024*1024) spaceInGB from dba_undo_extents group by tablespace_name, status having tablespace_name=upper('&TSNAME') order by tablespace_name; Query To check who is using more UNDO space: ===================================== SET termout ON SET heading ON SET PAGESIZE 6000 SET LINESIZE 200 COLUMN pgm_notes FORMAT a80 HEADING 'Notes' COLUMN rbs FORMAT a16 HEADING 'RBS' JUST center COLUMN oracle_user FORMAT a12 HEADING 'Oracle|Username' COLUMN sid_serial FORMAT a12 HEADING 'SID,Serial' COLUMN unix_pid FORMAT a6 HEADING 'O/S|PID' COLUMN Client_User FORMAT a14 HEADING 'Cl
Comments
Post a Comment