oracle中监控目录是否可用
oracle中监控索引是否可用
在oracle中,可以使用如下的方法监控索引是否可用:
alter index 索引名 monitoring usage;
select * from xxx where 索引列=xxxxxx(比如这里用到了索引)
select * from v$object_usage;
停止监控:
alter index 索引名 nomonitoring usage;
在oracle中,可以使用如下的方法监控索引是否可用:
alter index 索引名 monitoring usage;
select * from xxx where 索引列=xxxxxx(比如这里用到了索引)
select * from v$object_usage;
停止监控:
alter index 索引名 nomonitoring usage;