General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Network:
Windows 2000 Server
>>>Hi,
>>>
>>>I noticed that when I issued REINDEX on a few tables (which had not been REINDEXed for quite some time) the SIZE of the CDX file became considerably smaller. Does REINDEX do some kind of optimization that would result in this as a matter of course or might the change indicate a problem of some kind? I can't seem to find any technical reference in MSDN that explains this.
>>>
>>>thanks,
>>>
>>>-Arne
>>
>>Indexes can become corrupt.
>>
>>Who knows how that would impact the size.
>>
>>To be safe you should drop and re-create your indexes from scratch.
>
>This is simply incorrect. There was nothing in the original that said the tables were exhibiting trouble before the REINDEX, so a REINDEX is good and proper and the fastest way to accomplish what was needed.
I'll give you that there was nothing indicating that there was a problem, but I've experienced problems with the REINDEX over time not properly re-creating the indexes.
There may not be a problem now, but the re-creation of indexes is more in the lines of preventive medicine.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only