Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Testing for Corrupted Indexes
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00125289
Message ID:
00125417
Vues:
13
>I have a process that has worked fine for over
>a year. Today the system is locking up and I'm
>not sure why.
>
>I suspect that it may be the result of a corrupted
>index tag. Is there a way to tell if an index tag is
>indeed corrupted? Is there a rule of thumb as
>to how often the rebuild should take place?
>I've also heard that I should not simply do a
>REINDEX but that it should be a DELETE TAGS ALL
>and then create the indexes. Is there an automated
>way to do this?


I would reindex whenever possible - on a set schedule. The way to recreate indexes is to...
SELECT YourDataBase EXCL
DELETE TAG ALL
PACK
INDEX ON tagname TAG tagname ADDITIVE
INDEX ON tagname2 TAG tagname2 ADDITIVE
INDEX ON tagname3 TAG tagname3 ADDITIVE
USE

HTH
Wayne
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform