Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detect corrupt indices
Message
De
09/01/2009 18:39:32
 
 
À
09/01/2009 17:57:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01372492
Message ID:
01372495
Vues:
17
>Is there any way to detect corrupt indices in foxpro dbfs ? I mean some corrupt tag in a cdx file

Not that I know of. I can see where this might be useful, to know whether you need to reindex. Reindexing requires exclusive access which may be difficult in a multiuser environment.

One useful approach for dealing with index corruption is simply to have a known good .CDX file available. This known good one does not even have to have any records. Just overwrite the suspect one with the known good one, and REINDEX.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform