latches.sql

来自「oracle dba 常用的管理脚本, 覆盖日常的系统管理.」· SQL 代码 · 共 21 行

SQL
21
字号
--* File Name    : Latches.sql
--* Author       : DR Timothy S Hall
--* Description  : Displays information about all current latches.
--* Requirements : Access to the V$ views.
--* Call Syntax  : @Latches
--* Last Modified: 15/07/2000
SET LINESIZE 500
SET PAGESIZE 1000
SET VERIFY OFF

SELECT a.name "Latch Name",
       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
ORDER BY 1;

SET PAGESIZE 14
SET VERIFY ON

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?