Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Had to reindex
Message
 
 
À
12/05/2011 23:08:24
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Indexation
Titre:
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01510533
Message ID:
01510534
Vues:
52
>I found a situation today where a query was slow. The execution plan was not using the index has it should. This is an index which is composed by several fields. The number of fields is two. So, this is a very simple index with two fields. A query to return five records took 31 seconds. So, I looked at the execution plan and saw that it was not using it. I generated the script to recreate that index. After that, the execution plan showed that it was using it and the query was immediate.
>
>Is this some kind of index corruption?

Do you have a maintenance plan to re-build indexes (de-fragment)?
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