Rebuild index with parallel or nologging option in Oracle

Rebuild index with online, parallel or nologging option

Rebuild index with Parallel option

---For Fast Index rebuild use Parallel option with nologging
alter index TEST_INDEX rebuild online parallel 8 nologging;

--For only parallel option
alter index TEST_INDEX rebuild online parallel 8;

--For rebuild offline
alter index TEST_INDEX rebuild parallel 8;


-- For index rebuild noparallel option
alter index TEST_INDEX rebuild noparallel;

Rebuild index with Logging or nologging option (default logging is enabled)

--For nologging option
alter index TEST_INDEX rebuild nologging;

--For logging option
alter index TEST_INDEX rebuild logging;
alter index TEST_INDEX rebuild;

Rebuild index online or offline ( default offline)

-- Index rebuild online
alter index TEST_INDEX rebuild online ; 

--index rebuild offline
alter index TEST_INDES rebuild;

This entry was posted in Oracle on by .
Unknown's avatar

About SandeepSingh

Hi, I am working in IT industry with having more than 15 year of experience, worked as an Oracle DBA with a Company and handling different databases like Oracle, SQL Server , DB2 etc Worked as a Development and Database Administrator.

Leave a Reply