Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fox Slow ? with CDX
Message
De
11/08/2007 10:13:48
 
 
À
11/08/2007 07:00:38
Suhas Hegde
Dental Surgeon
Sirsi, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01247603
Message ID:
01247618
Vues:
24
>>If an idx is faster than a cdx, and the index expression is the same, you must have some kind of data corruption. I suggest that you find the cause of this error instead of trying to fix the consequences of the error.
>
>
>How could that be possible ?
>I have rebuilt the indexes (cdx) Just before running the tests
>Is it possible ?????

Did you use REINDEX or did you rebuild them from scratch? REINDEX can keep corruption, so DELETE the tags and build them again and see whether the problems goes away.

Also, I would rethink the idea of running a query inside a SCAN loop. Why not gather all the information once with a single query and then just process it in a loop.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform