?? lru_latch_ratio.sql
字號:
--* File Name : LRU_Latch_Ratio.sql
--* Author : DR Timothy S Hall
--* Description : Displays current LRU latch ratios.
--* Requirements : Access to the V$ views.
--* Call Syntax : @LRU_Latch_Hit_Ratio
--* Last Modified: 15/07/2000
SET LINESIZE 500
SET PAGESIZE 1000
COLUMN "Ratio %" FORMAT 990.00
PROMPT
PROMPT Values greater than 3% indicate contention.
SELECT a.child#,
(a.SLEEPS / a.GETS) * 100 "Ratio %"
FROM v$latch_children a
WHERE a.name = 'cache buffers lru chain'
ORDER BY 1;
SET PAGESIZE 14
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -