Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Feel the power of the Fox.
Message
De
16/12/2004 14:20:41
 
 
À
16/12/2004 13:31:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00969798
Message ID:
00969807
Vues:
10
>OH. MY. GOD.
>
>I was crafting an SQL statement joining three tables, and accepting parameters to limit the results returned from each. Table 1 has 10K records. Table 2 has 100K records. Table 3 has 1 million records. I ran the first test, counting seconds until I got results. One. Two. Three. Four. Five. Six. Seven. Eight. Nine. Ten. Eleven.
>
>Not that bad considering the scope, I thought.
>
>Then I changed the Where condition to filter Table 3 instead of Table 2, and ran the test again. Wuh-- *blink* Results in less than one second. I LOVE VFP.
>
>Chris.

Both sound plenty fast to me, Chris.

I just want to say that you would have got the same 'flash' response if you had run the same statement again, because the first brings all necessary records into storage and the second can simply use them all again.

cheers
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform