problem with Index rebuild

Tags:
Data center operations
DataCenter
Development
Disaster Recovery
How can I rebuild the indexes online,after trucating/moving partitions tables,so that things has not come in unstable stage and continue keep responsing on same tables. As rebuild takes several minutes. So how could I manage the things when database is online with out interuption.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

you can use
alter index <name> rebuild online;

you need the same amount of space again, because oracle creates a tempory index!
It is still a good idea to rebuild the index when not much work is going on.
It does not work with bitmap or clustered indexes.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: