Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unusable index in partitioned table:stats N/A?

ServerprocessMar 29 2011 — edited Mar 29 2011
Hi ,
Version 9I,

ABC_DEF is a partitioned tabled.

I could find ABC_DEF_PK ( PRIMARY KEY) and its unusable...i made is usable..

Could any one expalin me why the status in DBA_IND_PARTITIONS AND DBA_INDEXS status is different ...what exactly is N/A means

SQL> select distinct status from dba_ind_partitions where index_name = 'ABC_DEF_PK';

STATUS

--------

UNUSABLE

USABLE

SQL> SELECT index_name, status FROM dba_INDEXES WHERE INDEX_NAME='ABC_DEF_PK';

INDEX_NAME STATUS
------------------------------ --------
ABC_DEF_PK N/A

SQL> alter index arborbp1.ABC_DEF_PK rebuild partition ABC_DEF_2009_12_28;

Index altered.

SQL> select distinct status from dba_ind_partitions where index_name = 'ABC_DEF_PK'

STATUS
--------
USABLE

SQL> SELECT index_name, status FROM dba_INDEXES WHERE INDEX_NAME='ABC_DEF_PK';

INDEX_NAME STATUS
------------------------------ --------
ABC_DEF_PK N/A


Notice how the status in DBA_INDEXES remained the same even while one of the partitions was unusable.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 26 2011
Added on Mar 29 2011
1 comment
2,038 views