Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

reorg index vs rebuild index

Status
Not open for further replies.

MrJRW

IS-IT--Management
Feb 6, 2002
47
US
Good Afternoon

What are the advantages/disadvantages of using REBUILD INDEX vs. REORG INDEX ??
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top