Is there any possibility to trace, most used column in every table on the SQL server?
The intention is, a query which suggests some columns to be indexed; Based on the usage of the column by the queries that run on server
Thanks In Advance
Is there any possibility to trace, most used column in every table on the SQL server?
The intention is, a query which suggests some columns to be indexed; Based on the usage of the column by the queries that run on server
Thanks In Advance
First of all there is not direct relationship between the most used column and the indexes. The column can be used often, but if it has a poor selectivity the index will be useless.
You can use Database Tuning Advisor to get optimal indexes set.