Link to home
Start Free TrialLog in
Avatar of DarchVader
DarchVaderFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Drop and re-create a domain index

I have a domain index in a 10g database that seems to be corrupt. I have triued to rebuild the index using the following syntax

Alter index customer_tix rebuild;

but get the error

"Cannot issue DDL on a domain index marked as LOADING"

I beileve that I need to drop and recreate the index but am nervous as this is in a production Db that is part of an ERP.

How can I work out what the exact syntax is that originally created the index? I have contacted the ERP vendor and they are no help.

Many thanks,

Jon
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Since you are going to recreate it I assume you have the syntax.

What type of index is this?  
ASKER CERTIFIED SOLUTION
Avatar of swadhinray
swadhinray
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I would not just drop a domain index on 10g.  There is a known bug that can really get you (I know, I 'discovered' it).

I had an Oracle Text Index and a Function Based Index (FBI) in the same database.  Both of these are considered 'Domain' indexes  When I dropped the FBI to rebuild it, it corrupted the Text index.

If took Oracle a long time to figure out this one and it was a simple low level table update to get it working again.

It's not a public bug but here's the number:
5402174: DROP COLUMN COULD CHANGE FUNCTIONAL DOMAIN INDEX COLUMN NAME