[SERVER-4202] Add a way to get stats on number of queries that hit an index, per collection Created: 03/Nov/11  Updated: 03/Dec/15  Resolved: 03/Dec/15

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Adam Fields Assignee: Unassigned
Resolution: Duplicate Votes: 4
Labels: collection-level, performance, stats
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-44432 Per index access stats Closed
Related
related to SERVER-2178 Track stats per db/collection Closed
is related to SERVER-5828 Metric/Stats Tracking Closed
Participants:

 Description   

I'd like to be able to get stats (or a report over some period of time) per collection, of how many queries have hit an index (which index would be nice, but even just that they hit any index would be really useful to know) vs. how many ran without hitting any index at all.



 Comments   
Comment by Asya Kamsky [ 26/May/15 ]

seems to be a dup of SERVER-2227

Comment by Aristarkh Zagorodnikov [ 04/Nov/11 ]

I believe that stats collector should be enabled/disabled along with profiling (maybe different profiling level) – that way you can collect stats for an arbitrary period of time.

Generated at Thu Feb 08 03:05:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.