Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

Is it possible to rebuild index of oracle 11g table while keeping the application running and access/update the table?

The purpose is not to shutdown the application while index is rebuilt. The application is24/7 or online transaction type.

user-image
Question added by Zahidul Alam Chowdhury , Business Assurance Senior Assistant Manager , Banglalink Digital Communications Ltd.
Date Posted: 2013/10/04
Jad Al-Quraan
by Jad Al-Quraan , Head of department : analysis and systems development & Oracle DBA , Tafila Technical University

yes you can rebuild index online 

It will affect only the efficiency during the implementation process

After that everything returns to normal

Mobeen Ahmed
by Mobeen Ahmed , Systems Specialist - Cloud Technologies , Alghanim Industries

alter index <index_name> rebuild online;  is the query to rebuild indexes while users are accessing data in table.

Nawaf  Naji
by Nawaf Naji , Business Development Manager , Bonnon Coffee

Yes you could do that rebuild the index online and everything will be normal in the process if you have oracle background.

Dhairyasheel Tawade
by Dhairyasheel Tawade , Principal Technical Account Manager , Oracle India

When you use an online index rebuild Oracle has to create a log of all changes you make to the table while the rebuild is running. Once the log is set up, Oracle creates a new index using a read-consistent copy of the data in the table, then copies the logged changes into this index, and finishes off by tidying up the data dictionary, dropping temporary segments, and dropping the log.

 

http://jonathanlewis.wordpress.com/2009/06/05/online-rebuild/

More Questions Like This