My Oracle Support Banner

Local Index UNUSABLE for Short Period in Alter Table Move Partition (Doc ID 1374199.1)

Last updated on NOVEMBER 07, 2023

Applies to:

Oracle Database - Enterprise Edition - Version to [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.


NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

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 ---

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.