[SERVER-40382] Add a serverStatus metric to report plan cache memory consumption Created: 29/Mar/19 Updated: 29/Oct/23 Resolved: 13/Aug/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics, Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.15, 4.0.13, 4.2.1, 4.3.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | David Storch | Assignee: | Arun Banala |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Backport Requested: |
v4.2, v4.0, v3.6
|
||||||||||||||||||||
| Sprint: | Query 2019-07-15, Query 2019-07-29, Query 2019-08-12, Query 2019-08-26 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
This would help users understand when increasing memory consumption is due to growing plan cache entries. Right now, users have no insight into what portion of heap memory outside the WiredTiger cache is being used for the plan cache. This may be difficult to implement without SERVER-40360, which would change the architecture so that there is a single plan cache per mongod rather than a plan cache per collection. |
| Comments |
| Comment by Githook User [ 21/Oct/19 ] |
|
Author: {'name': 'Arun Banala', 'username': 'banarun', 'email': 'arun.banala@10gen.com'}Message: (cherry picked from commit 5105fa2377d3e86b2011691d5acbd8c531113929) |
| Comment by Githook User [ 02/Oct/19 ] |
|
Author: {'name': 'Arun Banala', 'username': 'banarun', 'email': 'arun.banala@10gen.com'}Message: (cherry picked from commit 5105fa2377d3e86b2011691d5acbd8c531113929) |
| Comment by Githook User [ 26/Aug/19 ] |
|
Author: {'name': 'Arun Banala', 'email': 'arun.banala@mongodb.com', 'username': 'banarun'}Message: (cherry picked from commit 5105fa2377d3e86b2011691d5acbd8c531113929) |
| Comment by Githook User [ 13/Aug/19 ] |
|
Author: {'name': 'Arun Banala', 'username': 'banarun', 'email': 'arun.banala@mongodb.com'}Message: |