Hi community,
I’m trying to manage indexes for my collections, and running this command db.orders.aggregate( [ { $indexStats: { } } ] )
to get the index info, from the result of the index stats, it has an accesses prop, and within the accesses prop, it has a count and since prop available for me to check out how many times this index has been used since a date.
is there any chance to change the retention date for this since
prop, so it’s longer? from my observation, it only captures the latest 7-10 days, how can I capture index usage for the latest 30 days or 60 days for example.
Any insights?
Thanks