Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unexplained Select - SQL delay
Message
 
 
À
20/12/2006 13:57:07
Spencer Redfield
Managed Healthcare Northwest, Inc.
Portland, Oregon, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
01178661
Message ID:
01179321
Vues:
7
The VFP query optimizer is not documented, so it's always a trial and error to figure out the best query in each case. If you post your new JOIN query I may look over it for any improvements.

>The "improved" query syntax does reduces the query's time by about 25%.
>
>It's the still unexplained three orders of magnitude difference (23.6 seconds verses 0.015 seconds) that is the limiting factor here. 25% off of 23.6 seconds is, of course, insufficient for a workaround.
>
>Is it your understanding that tags, keys, and collation sequences, alone, should dictate the showplan results of two similarly sized .DBCs?
>
>Next step: My manager has asked me to make a copy of the fast "development" .DBC, zap the tables, import the "production" data, and then see what happens. I will post the results.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform