I have two nodes in alwayson, primary is used for write and i have used secondary for read. The usage of indexes is different in the two servers. How can I properly determine the unused indexes?
I have doubt that the indexes which are affecting the operations in primary might be helping reading data in secondary.