Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL select to sum from two tables?
Message
From
05/06/2009 00:30:18
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
04/06/2009 17:43:13
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01403521
Message ID:
01403857
Views:
39
>>I think the second should be faster, so I would be surprised if you got different results in your tests.
>
>What's a good way to test so as to eliminate the effects of cached data and stuff? The data is on free tables on a server on our lan, and I am runnnig the app on my desktop, so the data is coming over the LAN.
>
>I want to be sure I do not mess up the results by having it the data cached or something.

Run them alternately, one after another, in a loop. So if one gets the benefit of caching, so will the other.

You can also apply a net limiter (it's, I guess, a freebie program you can download somewhere on the net, try SourceForge or whassitsname) and squeeze your network pipes with it - that would make the effects of server side caching less pronounced and show the difference in more contrast. Or you can do a brute force clearing of the cache by rebooting the server between tries, or by disabling the cache there altogether, but I guess that's exactly brutal.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform