Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Right index but not taken
Message
De
15/01/2014 15:00:08
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Indexation
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01591957
Message ID:
01591969
Vues:
26
>I suggest to drop that index for now, run the query in SSMS and see what it will suggest as missing index.

Ok, I have something better. Additionnally to the two included columns, I also needed to add anything related to that table from the WHERE clause. I have one condition in the SQL selection command that use a field from that table. So, once I added that field as a 3rd included field, I obtained an Index Scan instead with a Parallelism in front of it.

I would say this is pretty much as good as it could be.

With that one in the loop, I obtain an increase of about 20% in performance based on various hits I have done.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform