Index Re-building..
ALTER INDEX <IDX_NAME> REBUILD ONLINE;
If your issue is its huge table and it might take more time to execute then you can use Parallel execution method.
1. Take your session in Parallel DML mode.
ALTER SESSION ENABLE PARALLEL DML;
2. Take your table in Parallel Mode
ALTER TABLE <TABLE_NAME> PARALLEL;
3. Run Rebuild Index command.
ALTER INDEX <IDX_NAME> REBUILD ONLINE;
4. Take your session back to normal mode.
ALTER SESSION DISABLE PARALLEL DML;
That is it !!!
Comments
Post a Comment