Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Forcing FoxPro to clear its cache
Message
De
09/08/2001 20:03:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00542072
Message ID:
00542082
Vues:
14
>>I need to be able to gauge the performance of a SQL the first time it is issued. FoxPro cached the result and even if I quit out of FoxPro, I still get the cached result.
>
>Hi Dan,
>
>Keep a VERY large table handy and do a select * from handy_table. If the table is as big as the amount of RAM you have, it's likely to flush whatever was cached before issuing the select. Remember that you have to actually ISSUE the select statement. Just USEing the table won't do.
>
>Granted, it takes a while to flush 256MB of RAM, but your benchmarks will be more accurate (or at least behave more normally) if you do this.
>
>Good luck!
>
>Alex


Don't forget the NoFilter. That did do the trick though.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform