Hi Community,
Can someone help and analyze below WiredTIger.cache stats and suggest if there wiredTiger cache size need to increase ?
{
"application threads page read from disk to cache count" : 327399071,
"application threads page read from disk to cache time (usecs)" : 30961681878,
"application threads page write from cache to disk count" : 3957777,
"application threads page write from cache to disk time (usecs)" : 879859200,
"bytes belonging to page images in the cache" : 5962097784,
"bytes belonging to the cache overflow table in the cache" : 182,
"bytes currently in the cache" : 6297119974,
"bytes not belonging to page images in the cache" : 335022189,
"bytes read into cache" : NumberLong("10697633891413"),
"bytes written from cache" : 96058542714,
"cache overflow cursor application thread wait time (usecs)" : 0,
"cache overflow cursor internal thread wait time (usecs)" : 0,
"cache overflow score" : 0,
"cache overflow table entries" : 0,
"cache overflow table insert calls" : 0,
"cache overflow table max on-disk size" : 0,
"cache overflow table on-disk size" : 0,
"cache overflow table remove calls" : 0,
"checkpoint blocked page eviction" : 55,
"eviction calls to get a page" : 336695779,
"eviction calls to get a page found queue empty" : 9160503,
"eviction calls to get a page found queue empty after locking" : 4009923,
"eviction currently operating in aggressive mode" : 0,
"eviction empty score" : 0,
"eviction passes of a file" : 1666156000,
"eviction server candidate queue empty when topping up" : 1468129,
"eviction server candidate queue not empty when topping up" : 2532493,
"eviction server evicting pages" : 0,
"eviction server slept, because we did not make progress with eviction" : 14927017,
"eviction server unable to reach eviction goal" : 0,
"eviction state" : 64,
"eviction walk target pages histogram - 0-9" : 1660912885,
"eviction walk target pages histogram - 10-31" : 1167311,
"eviction walk target pages histogram - 128 and higher" : 0,
"eviction walk target pages histogram - 32-63" : 606182,
"eviction walk target pages histogram - 64-128" : 3469622,
"eviction walks abandoned" : 4168376,
"eviction walks gave up because they restarted their walk twice" : 1645756428,
"eviction walks gave up because they saw too many pages and found no candidates" : 8456934,
"eviction walks gave up because they saw too many pages and found too few candidates" : 17760,
"eviction walks reached end of tree" : 3300161895,
"eviction walks started from root of tree" : 1657176952,
"eviction walks started from saved location in tree" : 8979048,
"eviction worker thread active" : 4,
"eviction worker thread created" : 0,
"eviction worker thread evicting pages" : 323658140,
"eviction worker thread removed" : 0,
"eviction worker thread stable number" : 0,
"failed eviction of pages that exceeded the in-memory maximum count" : 6607,
"failed eviction of pages that exceeded the in-memory maximum time (usecs)" : 5902,
"files with active eviction walks" : 0,
"files with new eviction walks started" : 1654405467,
"force re-tuning of eviction workers once in a while" : 0,
"hazard pointer blocked page eviction" : 659884,
"hazard pointer check calls" : 327250926,
"hazard pointer check entries walked" : 9220828506,
"hazard pointer maximum array length" : 42,
"in-memory page passed criteria to be split" : 19000,
"in-memory page splits" : 9509,
"internal pages evicted" : 1055038,
"internal pages split during eviction" : 114,
"leaf pages split during eviction" : 43773,
"maximum bytes configured" : 7874805760,
"maximum page size at eviction" : 26877,
"modified pages evicted" : 1021176,
"modified pages evicted by application threads" : 0,
"operations timed out waiting for space in cache" : 0,
"overflow pages read into cache" : 0,
"page split during eviction deepened the tree" : 0,
"page written requiring cache overflow records" : 0,
"pages currently held in the cache" : 216173,
"pages evicted because they exceeded the in-memory maximum count" : 22800,
"pages evicted because they exceeded the in-memory maximum time (usecs)" : 6083073,
"pages evicted because they had chains of deleted items count" : 3886695,
"pages evicted because they had chains of deleted items time (usecs)" : 3303170,
"pages evicted by application threads" : 60,
"pages queued for eviction" : 398428510,
"pages queued for urgent eviction" : 11843046,
"pages queued for urgent eviction during walk" : 19765,
"pages read into cache" : 327416121,
"pages read into cache after truncate" : 5061,
"pages read into cache after truncate in prepare state" : 0,
"pages read into cache requiring cache overflow entries" : 0,
"pages read into cache requiring cache overflow for checkpoint" : 0,
"pages read into cache skipping older cache overflow entries" : 0,
"pages read into cache with skipped cache overflow entries needed later" : 0,
"pages read into cache with skipped cache overflow entries needed later by checkpoint" : 0,
"pages requested from the cache" : 20182969265,
"pages seen by eviction walk" : 2277363640,
"pages selected for eviction unable to be evicted" : 686461,
"pages walked for eviction" : 80676236195,
"pages written from cache" : 3998879,
"pages written requiring in-memory restoration" : 20088,
"percentage overhead" : 8,
"tracked bytes belonging to internal pages in the cache" : 163573705,
"tracked bytes belonging to leaf pages in the cache" : 6133546269,
"tracked dirty bytes in the cache" : 17379297,
"tracked dirty pages in the cache" : 52,
"unmodified pages evicted" : 324927301
}
I have checked below parameter , does they indicate wiredTiger cache need to increase ? Is there any other parameter need to review to make a decision for wiredTiger cache increase ?
``|
“maximum bytes configured” : 7874805760,
“bytes currently in the cache” : 6297119974,
“tracked dirty bytes in the cache” : 17379297,
“pages written from cache” : 3998879,
“pages read into cache” : 327416121,
Regards
SS