-
Type: New Feature
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Admin, Performance
-
Storage Execution
Add a command which can report the % of the namespace (for both the data and all indexes related to a collection) which is currently in (mapped-resident/cache) memory. This can be added for reporting cache/memory efficiency and for debugging performance issues.
It could be called something like
{cacheStats: <ns>} and report something like this:
{cacheStats: [
{<ns>:
Where percent is the percent in memory of the namespace, and a graphic (textual) representation shows which parts of the namespace are in memory.
Or a distribution is the number of the contiguous page blocks (which could tell you if you are accessing data randomly or in ranges, and should be cheap to calculate as you are walking pages ~ mincore).
distribution: [
4: 20000
25: 60
300: 4
...
]}}
- is duplicated by
-
SERVER-9829 Add ability to separate data from indexes per extent in collStats verbose
- Closed
- is related to
-
SERVER-8927 Add a new administrative command to provide statistics about the memory cache of all documents in a collection
- Closed
-
SERVER-3109 Expose index stats
- Closed