Find session with high DISK IO
select p.spid, s.sid,s.process cli_process, s.status,t.disk_reads, s.last_call_et/3600 last_call_et_Hrs,
s.action,s.program,lpad(t.sql_text,30) "Last SQL"
from v$session s, v$sqlarea t,v$process p
where s.sql_address =t.address and
s.sql_hash_value =t.hash_value and
p.addr=s.paddr and
t.disk_reads > 1000
order by t.disk_reads desc;
Thay disk_reads bằng tham số mà bạn muốn tìm
Xem thêm:
- Q47 Examine the description of the SALES1 table
- Q23 In which two scenarios is complete recovery possible?
- Hướng dẫn xoá oracle database khỏi máy window
- SQL Access Advisor Oracle Database | Tối ưu hiệu năng Oracle Database với SQL Access Advisor
- Q90. You want to install Oracle Grid Infrastructure for a Standalone Server using Oracle Universal Installer (OUI)