Rebuild: throw it away and build a new one
Reorg: reorganize the existing one.
Depending on the amount of changes you have the one or the other might be more useful.
If the index is corrupted you have to REBUILD it (to get the correct keys from the table)
If the index 'just' need to be cleaned up, you can use REORG INDEX.
If you choose REORG you can still use the table (without the index) while the REBUILD utility also uses the table.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.