2026-03-12 20:23:15

This commit is contained in:
root
2026-03-12 21:23:47 +01:00
parent eab4b36eca
commit 93039b8489
3332 changed files with 699614 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
-- -----------------------------------------------------------------------------------
-- File Name : https://oracle-base.com/dba/10g/event_histogram.sql
-- Author : Tim Hall
-- Description : Displays histogram of the event waits times.
-- Requirements : Access to the V$ views.
-- Call Syntax : @event_histogram "(event-name)"
-- Last Modified: 08-NOV-2005
-- -----------------------------------------------------------------------------------
SET VERIFY OFF
COLUMN event FORMAT A30
SELECT event#,
event,
wait_time_milli,
wait_count
FROM v$event_histogram
WHERE event LIKE '%&1%'
ORDER BY event, wait_time_milli;
COLUMN FORMAT DEFAULT
SET VERIFY ON