?? latch_holders.sql
字號:
--* File Name : Latch_Holders.sql
--* Author : DR Timothy S Hall
--* Description : Displays information about all current latch holders.
--* Requirements : Access to the V$ views.
--* Call Syntax : @Latch_Holders
--* Last Modified: 15/07/2000
SET LINESIZE 500
SET PAGESIZE 1000
SET VERIFY OFF
SELECT a.name "Latch Name",
b.pid "PID",
b.sid "SID",
a.gets "Gets (Wait)",
a.misses "Misses (Wait)",
a.sleeps "Sleeps (Wait)",
a.immediate_gets "Gets (No Wait)",
a.immediate_misses "Misses (Wait)"
FROM v$latch a,
v$latchholder b
WHERE a.addr = b.laddr
ORDER BY 1;
SET PAGESIZE 14
SET VERIFY ON
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -