Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index corruption
Message
From
28/06/2003 09:01:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00804995
Message ID:
00804998
Views:
19
>Hi..
>
>Please help me, I'm facing a problem of database index corruption. I'm using free tables and daily we add 15000+ records in a table.
>
>How can I check that weather index files (.CDX) is corrupted/damaged of nor ?
>
>Ravi,

It should be quite slow to check for corruption. I suggest you simply try to avoid corruption in the first place:

1) Use FLUSH every time you make changes to a record, or add a new record. If you use buffering, this would be after the TableUpdate().

2) Make sure your OS doesn't use a write-cache.
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