-- 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_CHANGES
from v$session ses,
v$sess_io sio
where ses.SID = sio.SIDand username is not nulland status='ACTIVE'order by PHYSICAL_READS;
No comments:
Post a Comment