Oracle索引状态查询&索引重建
--检查损坏索引
SELECTstatus,COUNT(*)FROMdba_indexesGROUPBYstatusUNIONSELECTstatus,COUNT(*)FROMdba_ind_partitionsGROUPBYstatusUNIONSELECTstatus,COUNT(*)FROMdba_ind_subpartitionsGROUPBYstatus
--重建索引
alterindexpk_kc03rebuildnologging;oralterindexpk_kc03rebuild
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。