Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement