[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: |
|
||||||||||||||||||||
| 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 |
| 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. |