Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare two SQL Select
Message
De
22/04/2011 21:06:58
 
 
À
22/04/2011 20:58:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01508173
Message ID:
01508178
Vues:
31
>You are right. But is is hard to have a good benchmark since different customers has different number of records. My guess is that the total number of records (on average) matching the WHERE will not be more than 2000. On my PC, when I run these queries, both cases (with about 1000 records) are almost instantaneous.

You are facing a similar situation I have here on the Universal Thread. On my account, sometimes, because I have so many replies, the way the SQL Server index works, sometimes forces me to reindex just so to keep it clean and avoid a 2-second delay, where usually, I have it in 0.1 second. I haven't found any explanation for it so far. But, it only happens on my account. It may be ok for months and then, it happens. Everything is optimized. I also makes use of advanced SQL Server indexing but this is a weird situation.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform