Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about the REINDEX command
Message
From
09/04/2005 21:17:48
 
 
To
09/04/2005 21:12:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows 2000
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01003134
Message ID:
01003142
Views:
25
Arne-

Sorry, I don't really have a good answer for you.

Dan

>Hi Dan,
>
>yes, of course I know that indexes can become corrupt; issuing REINDEX in that situation would definitely affect the size of the CDX. My question is whether or not REINDEXing a NON-CORRUPTED index (i.e. one that is otherwise perfectly fine) MIGHT result in a smaller CDX file. Or, is it necessarily the case that a change in the CDX size after REINDEXing indicates a problem with the index.
>
>Thanks,
>
>-Arne
>
>>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform