Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL select to sum from two tables?
Message
De
05/06/2009 00:30:18
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
04/06/2009 17:43:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01403521
Message ID:
01403857
Vues:
40
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform