What causes `system_scans` in sys.dm_db_index_usage_stats to count up?

As usual BOL only states the obvious here.

I have a few non clustered indexes in a database that have zero user_scans, user_seeks and user_lookups. These same indexes have high number of system_scans and user_updates.
Taking an educated guess here, but would the system_scans be from something like auto updating of statistics?

Is my guess correct? any idea on a simple way of testing out the theory? What other processes cause system usage stats to count up on user tables/indexes?

more ▼

asked Aug 03, 2010 at 12:27 AM in Default

avatar image

Nick Kavadias
486 3 5 11

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

I understand the system scans/lookups columns are to do with statistics updates & index maintenance. I asked Brent Ozar when he was presenting over in Germany about a month ago and he confirmed this for me.

I asked him about this with regard to identifying unused indexes on a system. He said that you only have to be concerned with User Lookups and User Scans, the system ones are really only system side operations. So an index that only has "system" activity has not been used by queries since the index usage statistics were last reset.

more ▼

answered Aug 03, 2010 at 01:25 AM

avatar image

26.2k 18 38 48

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Aug 03, 2010 at 12:27 AM

Seen: 4373 times

Last Updated: Aug 03, 2010 at 12:34 AM

Copyright 2018 Redgate Software. Privacy Policy