Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing FoxPro to clear its cache
Message
From
09/08/2001 20:03:53
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00542072
Message ID:
00542082
Views:
22
>>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform