Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index become non optimized after a while
Message
 
 
À
07/07/2010 23:02:45
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01471721
Message ID:
01471796
Vues:
38
>>Is your other index (the same as combo without included column) used somewhere? I'm thinking, what if you drop that index and rely on combo index always?
>
>Actually, I have always used the other way around. I do not trust those fancy indexes. I would prefer to have everything optimized with single key index. Those INCLUDE do not have my vote I have to say. Those are a pain to maintain, it took me a while to find a way to add them into the framework for their maintenances. Is their usage the only way to be optimized when we have big tables?

I think for that particular query we found that combo index is the winner. So, we get rid of other index and keep this one - at least that's how I'd try it. If the performance of other queries will decrease, we may add plain index back in.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform