Skip to Main Content
  • Questions
  • Oracle 12c Index unusable after partition drop

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Eranga.

Asked: June 13, 2017 - 6:36 am UTC

Last updated: June 19, 2017 - 3:12 am UTC

Version: 12c

Viewed 1000+ times

You Asked

In Oracle 11g if global index maintained during execution of the DROP partition command then command could take hours to complete. Oracle 12c said DROP partition command executes immediately and index will remain usable.

I had database table in Oracle 11g which use partition drop for purging. But never able to utilize partition drop due to above 11g index unusable issue. So I updated the database to Oracle 12c. But still when I drop the partition index become unusable. I disabled the Oracle database backward compatibility but still issue is there. Interestingly when I created a new table in 12c it works as expected. But not for tables upgraded from 11g to 12c.

and Connor said...

Someone else reported something similar, but I could not reproduce. See here

https://asktom.oracle.com/pls/apex/f?p=100:11:::NO:RP:P11_QUESTION_ID:9535254200346113945

But since there's two of you :-) log a call with Support - see what they have to say

Is this answer out of date? If it is, please let us know via a Comment