Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Had to reindex
Message
 
 
To
12/05/2011 23:08:24
General information
Forum:
Microsoft SQL Server
Category:
Indexing
Title:
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01510533
Message ID:
01510534
Views:
51
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform