2026-03-12 20:23:15
This commit is contained in:
15
timhall/monitoring/index_monitoring_status.sql
Normal file
15
timhall/monitoring/index_monitoring_status.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
-- -----------------------------------------------------------------------------------
|
||||
-- File Name : https://oracle-base.com/dba/monitoring/index_monitoring_status.sql
|
||||
-- Author : Tim Hall
|
||||
-- Description : Shows the monitoring status for the specified table indexes.
|
||||
-- Call Syntax : @index_monitoring_status (table-name) (index-name or all)
|
||||
-- Last Modified: 04/02/2005
|
||||
-- -----------------------------------------------------------------------------------
|
||||
SET VERIFY OFF
|
||||
|
||||
SELECT table_name,
|
||||
index_name,
|
||||
monitoring
|
||||
FROM v$object_usage
|
||||
WHERE table_name = UPPER('&1')
|
||||
AND index_name = DECODE(UPPER('&2'), 'ALL', index_name, UPPER('&2'));
|
||||
Reference in New Issue
Block a user