Local Index UNUSABLE for Short Period in Alter Table Move Partition
(Doc ID 1374199.1)
Last updated on FEBRUARY 28, 2019
Applies to:Oracle Database - Enterprise Edition - Version 10.2.0.4 to 22.214.171.124 [Release 10.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
***Checked for relevance on 02-May-2013***
Local Indexes UNUSABLE for short period in alter table move partition
Local indexes (unlike global indexes) are unusable for a short period during an alter table move partition update indexes.
This can lead to ORA-01502. It could also lead to unpredictable performance if Oracle during that time would perform full scans instead.
Observe the behavior with the testcase as mentioned in section "Symptoms" below.
Where as per the documentation: (Database VLDB and Partitioning Guide for 11.2 states in chapter 4 under Moving Partitions)
Maintaining Partitions (Go to => "Updating Indexes Automatically")
It says: The index is more highly available, because it does not get marked UNUSABLE
Thus, according to the documentation the indexes may not be marked unusable if we specify update indexes. Hence, the observed behavior looks like a bug.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|--- Symptoms ---|
|--- Solution ---|