Database Administration (MOSC)

MOSC Banner

Difference between index and index rebuild option

edited Jun 27, 2011 3:18AM in Database Administration (MOSC) 5 commentsAnswered
Hi All,

Can someone explain difference between rebuilding an index with rebuild and with rebuild online options in detail?

Here I am not looking for "index rebuild --- users can not do the operations... and index rebuild online -- users can do the DML operation on the table"

I am looking for something more that is happening at the backend of these two operation.

Let me share the understanding I have on this.

INDEX REBUILD
============
    
1. Oracle takes an exclusive lock on this table.
2. Starts building the index in the temp table/temporary space by scanning each row of the table.

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