Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Had to reindex
Message
From
12/05/2011 23:08:24
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Indexing
Title:
Had to reindex
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01510533
Message ID:
01510533
Views:
107
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?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform