Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL SELECT RUNS SLOW FIRST TIME EXECUTED
Message
 
 
To
16/10/2000 19:05:13
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00430042
Message ID:
00430519
Views:
12
"If you're testing your SQL with and without indexes to find the right combination, be sure to close out of FoxPro between tests to eliminate the caching."

The OS will also be doing plenty of caching, both the Workstation and the Server (if one is involved). The bad news is that a categorical picture can only be obtained by cold boots all round between each test!

If you are using NT4 / Win2K you should also consider using PerfMon.Exe or the Task Manager - with the Process Tab selected, select Select Columns from the View menu, and enable both Page Faults and PF Delta. If you see large values in the PF Delta during the first run, but none or few during subsequent runs, then your queries are faster the second time round due to caching.
censored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform