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:
- Lỗi ORA-16397: statement redirection from Oracle Active Data Guard standby database to primary database failed
- Q30. Which three actions are performed by Oracle Preinstallation RPM, oracle-database-server-xxxx-preinstall, for Oracle Grid Infrastructure, where xxxx is the Oracle version and release?
- So sánh các theme phổ biến: Astra, GeneratePress, OceanWP
- Các kiểu dữ liệu chính trong SQL Server
- Hướng dẫn dựng LAB thực hành Oracle database 19c
