PL/SQL (MOSC)

MOSC Banner

How is better recreate or rebuild a PK for a big table?

edited Jan 8, 2015 4:08AM in PL/SQL (MOSC) 5 commentsAnswered ✓


Hi,

my question is related how to proceed having a big table partitioned with around 1.000.000.000 of records with a global Primary key (PK).

I'm trying to rebuild the Primary key becasue after a new partition added the PK was UNUSABLE.

But the table is used now by customers so rebuilding task is taken more than 5 hours and it's going on now it's not finished yet.

Is it better try to drop and recreate it local?

How I can do faster this operation? and which is the best way?

Thank you!

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center