select p.spid,s.username, s.sid,s.status,t.disk_reads, s.last_call_et/3600 last_call_et_Hrs, s.action,s.program,s.machine cli_mach,s.process cli_process,lpad(t.sql_text,30) "Last SQL" from gv$session s, gv$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 > 5 and s.status='INACTIVE' and s.process='1234' order by S.PROGRAM;
Xem thêm:
- Q25. Which two are true about Oracle Grid Infrastructure for a Standalone Server?
- Q156 Which two statements are true about expressions using PROMO_BEGIN_DATE contained in a query?
- Q13 In which order will the upgrade occur?
- Managing Optimizer Statistics Oracle Database | Cập nhật thống kê Statistics trong Oracle Database
- Managing constraints | Sử dụng Constraints trong SQL