セッション毎の物理読み込みが多い順に検索したい
select to_char(a.sid,'99999') SID
,substr(a.username,1,10) TOP_10_USER
,to_char(c.value,'999999999999') PHY_READ,status
,substr(nvl(osuser,'NO NAME'),1,11) OS_USER
,substr(nvl(program,'NONE'),1,25) PROGRAM
from v$session a,v$statname b,v$sesstat c
where a.sid=c.sid
and a.username is not null
and c.value > 0
and b.name ='physical reads'
order by c.value desc;
- ポイント
- 物理読み込みの多いセッションを把握して、どのPROGRAMが一番物理読み込みをしているかなどを確認する

