[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

11/06/2009 at 12:25PM PST, ID: 24879193 | Points: 500
[x]
Attachment Details

How do I know if an index is used in SQL Server 2000?

Asked by fischermx in MS SQL Server, SQL Server 2005

Say I have a very big table from which a lot of reporting is done in daily basis.
It has defined like 9 indexes, for different columns, this occupies a lot of disk space and for some reason, I suspect some of these indexes are not even used, or needed.

I want to know or test whether in a period of two or three days, these indexes are used.
I know I have to start activating the profiler and..... that's where I need help.

Please, advise.

Oh, wait, I know I can take one individual query, run it in the SSMS and see the query plan, of course.
But I want to somehow automate the process of checking whether some indexes are or are not being used.
Actually, what I really want, is just return the list of indexes used by a certain amount of queries during a certain period of time. Then I'll make the comparison and discard the unused.


[+][-]11/06/09 12:34 PM, ID: 25762796

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 01:12 PM, ID: 25763098

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/06/09 02:04 PM, ID: 25763490

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/06/09 05:41 PM, ID: 25764577

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/11/09 10:50 AM, ID: 25797768

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/11/09 11:04 AM, ID: 25797916

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91 - Hierarchy / EE_QW_3_20080625