Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compare two SQL Select
Message
From
22/04/2011 21:06:58
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01508173
Message ID:
01508178
Views:
29
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform