Check MongoDB index usage statistics
Run this command to get the usage of each index:
db.<collection>.aggregate( [ { $indexStats: { } } ] )
This is useful for figuring out which index is underutilized. You can find an example output in the documentation.