Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SSMS recommends index but do not use it
Message
From
18/06/2015 08:51:50
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2012
Application:
Web
Miscellaneous
Thread ID:
01621109
Message ID:
01621121
Views:
42
>It's the computer equivalent of decorating a room - "I think the couch would look great against that wall", you move couch, "Nope, I don't like it there."
>
>Basically it thinks the index will help based on the query analysis it does, but once you create it (and it can actually use it for analysis), it decides some other option is better.

Yes, and this is highly complicated. We have no guarantee that the requested index serves for something. And, because the visual does not show it, we cannot no if with one million more records, it would still use it.
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