Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
400 Million Record Database
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Conception bases de données
Divers
Thread ID:
00486521
Message ID:
00486793
Vues:
13
Would you provide the showplan for one of the smaller queries that is taking a long time to run?

Is the table fragmented? What does DBCC SHOWCONTIG say about the table?

In general, it's good to have a clustered index. You're right about the numerous combinations. Is it common to search on a date, maybe a range? That would make a good candidate for the CI. Maybe there's a FK for a very common join? That would also make a good CI.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform