Hello,
i have a question about indexes.
We have a table with about 130.000 entries. The table is heavily used. I just queried the sys.dm_db_index_usage_stats which shows that the CI has 435.961.966 user_seeks but also 2.762.574.974 user_lookups.
As far as i know the user_lookups mean, other indexes are used to get the necessary data. So i consider to include the missing columns in the CI - is there any whay to find out, which columns i may need? Or is there nothing to optimize?
Another querstion is: There are 15 other indexes. The Top 3 has the user_seek-values 140.243.351, 258.037.333 and 645.952.861. Is it better to make the last one to the CI? (the next top 5 has user_seek-values from 30.019.830 up to 76.210.963)
Thanks in advance,
Frank
i have a question about indexes.
We have a table with about 130.000 entries. The table is heavily used. I just queried the sys.dm_db_index_usage_stats which shows that the CI has 435.961.966 user_seeks but also 2.762.574.974 user_lookups.
As far as i know the user_lookups mean, other indexes are used to get the necessary data. So i consider to include the missing columns in the CI - is there any whay to find out, which columns i may need? Or is there nothing to optimize?
Another querstion is: There are 15 other indexes. The Top 3 has the user_seek-values 140.243.351, 258.037.333 and 645.952.861. Is it better to make the last one to the CI? (the next top 5 has user_seek-values from 30.019.830 up to 76.210.963)
Thanks in advance,
Frank