2026-03-12 20:23:15
This commit is contained in:
15
timhall/monitoring/tables_with_locked_stats.sql
Normal file
15
timhall/monitoring/tables_with_locked_stats.sql
Normal file
@@ -0,0 +1,15 @@
|
||||
-- -----------------------------------------------------------------------------------
|
||||
-- File Name : https://oracle-base.com/dba/monitoring/tables_with_locked_stats.sql
|
||||
-- Author : Tim Hall
|
||||
-- Description : Displays tables with locked stats.
|
||||
-- Requirements : Access to the DBA views.
|
||||
-- Call Syntax : @tables_with_locked_stats.sql
|
||||
-- Last Modified: 06-DEC-2013
|
||||
-- -----------------------------------------------------------------------------------
|
||||
|
||||
SELECT owner,
|
||||
table_name,
|
||||
stattype_locked
|
||||
FROM dba_tab_statistics
|
||||
WHERE stattype_locked IS NOT NULL
|
||||
ORDER BY owner, table_name;
|
||||
Reference in New Issue
Block a user