Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Corrupt index how to rebuild safely on large table
Message
From
12/11/1998 14:08:24
 
 
To
12/11/1998 13:55:52
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00157066
Message ID:
00157080
Views:
19
>>I have a foxpro 2.6 table with over 800,000 records in it. When I do a reindex or pack on it, what appears to be an infinite loop of indexing happens. I have let the table reindex for over an hour and it just keeps on reindexing (more than the number of individual indexes on the cdx file). Has anyone seen this behaviour?
>>
>>What is a safe way to rebuild the CDX? Should I delete all of the indexs (using the table properties screen) then delete the CDX file, then create a new one? Or can I simply delete the CDX? I don't want to corrupt this table.
>
>DELETE TAG ALL and then rebuild tags.

Evan,

This is the safest way, except if you have lots of complex tags. If so, make sure you know exactly how to recreate them. You can run your database through gendbc to get these listings (or use my gentable program here in the files section). Just a word of caution on something that has burned me before.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform