Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
coolerbob
Aged Yak Warrior
841 Posts |
Posted - 2007-08-15 : 04:36:17
|
| Using DMV's (or anything else), is it possible to write a query that tells us all the queries in the SQL cache that are using a certain index?(Looking at sys.dm_db_index_usage_stats I may deduct that an index is rarely used, but without knowing where it DOES get used I can't safely test the impact of dropping it.) |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-08-15 : 22:22:54
|
| You can check index usage statistics report. |
 |
|
|
coolerbob
Aged Yak Warrior
841 Posts |
Posted - 2007-08-16 : 03:20:33
|
| That gives me the same info as sys.dm_db_index_usage_statsIt doesn't tell me which statements used those indexes. |
 |
|
|
rmiao
Master Smack Fu Yak Hacker
7266 Posts |
Posted - 2007-08-16 : 23:04:53
|
| You may need trace with profiler. |
 |
|
|
|
|
|