[SERVER-36528] Implement $planCacheStats aggregation metadata source Created: 08/Aug/18 Updated: 29/Oct/23 Resolved: 21/Aug/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 4.1.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | David Storch | Assignee: | David Storch |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Sprint: | Query 2018-08-27 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Comments |
| Comment by Githook User [ 21/Aug/18 ] | |
|
Author: {'name': 'David Storch', 'email': 'david.storch@10gen.com', 'username': 'dstorch'}Message: The $planCacheStats agg metadata source should typically be used Lookup by 'queryHash' can be achieved via a $planCacheStats-$match | |
| Comment by David Storch [ 13/Aug/18 ] | |
|
Per discussion with ian.boros, we plan to achieve this by:
Users who wish to find plan cache entries with a particular query hash can run something like
The initial draft of this work will be gated by the testCommandsEnabled flag. |