-- Very handy scriptset linesize 120col os_user format a10col username format a15col pid format 9999999999PROMPT SESSIONS SORTED BY PHYSICAL READSPROMPTselectOSUSER os_user,username,PROCESS pid,ses.SID sid,SERIAL#,PHYSICAL_READS,BLOCK_CHANGESfrom v$session ses,v$sess_io siowhere ses.SID = sio.SIDand username is not nulland status='ACTIVE'order by PHYSICAL_READS;
No comments:
Post a Comment