CREATE TABLE t1 (c1 NUMBER);
CREATE INDEX t1_idx ON t1(c1);
ALTER INDEX t1_idx MONITORING USAGE;
SELECT table_name, index_name, monitoring, used FROM v$object_usage;
SELECT * FROM t1 WHERE c1 = 1;
SELECT table_name, index_name, monitoring, used FROM v$object_usage;
ALTER INDEX indexname NOMONITORING USAGE;
ALTER INDEX indexname MONITORING USAGE;
CREATE INDEX t1_idx ON t1(c1);
ALTER INDEX t1_idx MONITORING USAGE;
SELECT table_name, index_name, monitoring, used FROM v$object_usage;
SELECT * FROM t1 WHERE c1 = 1;
SELECT table_name, index_name, monitoring, used FROM v$object_usage;
ALTER INDEX indexname NOMONITORING USAGE;
ALTER INDEX indexname MONITORING USAGE;
No comments:
Post a Comment