Oracle监控索引是否被启用

创建Oracle索引:
create index DEFECT_SUBMIT_DATE_IDX on Defect(Submit_Date);
create index DEFECT_DBID_SUBMIT_DATE_IDX on Defect(dbid, Submit_Date);
 
删除索引:
drop index DEFECT_SUBMIT_DATE_IDX;
 
设置监控索引:
alter index DEFECT_SUBMIT_DATE_IDX monitoring usage;
alter index DEFECT_DBID_SUBMIT_DATE_IDX monitoring usage;
 
显示监控结果:
select index_name, table_name, monitoring, used from V$OBJECT_USAGE;
 
显示Oracle索引:
select index_name, index_type, uniqueness from user_indexes where table_name=‘DEFECT’;

Oracle监控索引是否被启用,布布扣,bubuko.com

Oracle监控索引是否被启用

上一篇:postgresql自动备份


下一篇:MySQL 创建数据库并且指定编码