Local Index UNUSABLE for Short Period in Alter Table Move Partition
(Doc ID 1374199.1)
Last updated on SEPTEMBER 20, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.4 to 11.2.0.4 [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.
Purpose
Local Indexes UNUSABLE for short period in alter table move partition
Scope
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.
Details
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
Purpose |
Scope |
Details |
--- Symptoms --- |
--- Solution --- |
References |