Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CDX size bloating on large number of INSERTs
Message
 
To
13/04/2001 15:46:17
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00495402
Message ID:
00495417
Views:
12
>Nope, that's the way it works. REINDEX will simply tacks the new keys at the end of the CDX and not reuse the old space. This is called Index Bloat. You need to DELETE TAG or DELETE TAG ALL before doing and INDEX ON (At this point, REINDEX will not work). There is a KB article on my web site that explains this.

Joe is saying that he's seeing the opposite behavior. In other words, the CDX file is 113MB after all the INSERTs. Then he does a REINDEX and the CDX file reduces in size to 65MB. FWIW, I think REINDEX does erase and rebuild the CDX (though I never use the command personally... I always do a DELETE TAG ALL and INDEX ON).

--Brad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform