Oracle索引或这类索引的分区处于不可用状态

Posted 一万年以前

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Oracle索引或这类索引的分区处于不可用状态相关的知识,希望对你有一定的参考价值。

重建索引 

alter index pk_kc03 rebuild

 

批量查询无效索引

select ‘alter index ‘||index_name||‘ rebuild online;‘ from  user_indexes where status <> ‘VALID‘ and index_name not like‘%$$‘;

以上是关于Oracle索引或这类索引的分区处于不可用状态的主要内容,如果未能解决你的问题,请参考以下文章