dbTalk Databases Forums  

Corrupt Primary Key index on table causing ORA-600 internal error

comp.databases.oracle comp.databases.oracle


Discuss Corrupt Primary Key index on table causing ORA-600 internal error in the comp.databases.oracle forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Thiko
 
Posts: n/a

Default Corrupt Primary Key index on table causing ORA-600 internal error - 08-01-2004 , 02:24 PM






Hi

I have a corrupt PK index on a table column. It is a unique PK. It
needs to be dropped and recreated to cure the corruption.

The table is on a backup database which is in replication having
records added to it to keep the two databases in sync.

Am I correct in think that if I:

1. Suspend the replication so no data inconsistency happens on the
table while the PK is disabled.
2. Disable the corrupt PK on the table - then the index will get
dropped?
3. Enable the PK on the table - and the index will get rebuilt with
the corruption gone?
4. Re-enable the replication.

All will be fine? The table has over 9million rows so I realise it
will take a while to re-enable the primary key but as is is a backup
database in replication performance to users won't be affected.

Many thanks!

Reply With Quote
  #2  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Corrupt Primary Key index on table causing ORA-600 internal error - 08-01-2004 , 08:27 PM






biwombi (AT) hotmail (DOT) com (Thiko) wrote in message news:<b8d3b40c.0408011124.6283acac (AT) posting (DOT) google.com>...
Quote:
Hi

I have a corrupt PK index on a table column. It is a unique PK. It
needs to be dropped and recreated to cure the corruption.

The table is on a backup database which is in replication having
records added to it to keep the two databases in sync.

Am I correct in think that if I:

1. Suspend the replication so no data inconsistency happens on the
table while the PK is disabled.
2. Disable the corrupt PK on the table - then the index will get
dropped?
3. Enable the PK on the table - and the index will get rebuilt with
the corruption gone?
4. Re-enable the replication.

All will be fine? The table has over 9million rows so I realise it
will take a while to re-enable the primary key but as is is a backup
database in replication performance to users won't be affected.

Many thanks!
Thiko, dropping and re-creating the PK will probably correct the
situation since from your information it appears to be just a
corrupted index. Depending on the type of replication in use and
hardware capacity re-creating the PK could be a 30 second to 10 minute
operation so turning of the replication may not even be necessary if
you are on the low end of the scale.

I would think a complete refresh might be an option.

By the way when a newsgroup has subgroups you should generally post in
the appropriate subgroup and not in the base group.

HTH -- Mark D Powell --


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.