Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reindex
Message
From
02/10/2002 07:09:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
02/10/2002 04:58:00
Philip Jones
Cornwall County Council
Truro, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00706744
Message ID:
00706764
Views:
18
>Can someone tell me why it is that the indexes of tables sometimes get so corrupted that you have to delete the cdx file and add all of the indexes in again.
>
>Phil

Often because of a power failer (or the computer hangs), information might be partially written to the disk. This is aggravated by buffers for open files: information is not written to disk immediately.

Using the FLUSH command after making changes to each and every record (after TableUpdate(), if you use buffering) should reduce the corruption considerably.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform