Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using an index with multiple fields
Message
 
 
À
02/05/2011 21:21:29
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Indexation
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01509136
Message ID:
01509177
Vues:
46
Check http://sqlserverperformance.wordpress.com/2011/02/04/five-dmv-queries-that-will-make-you-a-superhero-in-2011/

>I have an index which is defined with a combination of three fields. Usually, for big queries which take a few seconds, we usually create those type of indexes in respect to the where clause of the SQL command in the same order in the index field order definition.
>
>When I look at the execution plan, I can now see that it uses this index and this simplifies the execution plan. When I move the mouse over the specific object in the execution plan, I can see that there is an output list. Is this the recommanded include fields I should also add in this index?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform