mongodb wiredTiger 정보 조회

taeni·2025년 4월 21일
var wt = db.serverStatus().wiredTiger.cache;
printjson({
  "bytes currently in the cache": wt["bytes currently in the cache"],
  "dirty bytes in cache": wt["tracked dirty bytes in the cache"],
  "pages read into cache": wt["pages read into cache"],
  "pages written from cache": wt["pages written from cache"],
  "unmodified pages evicted": wt["unmodified pages evicted"],
  "modified pages evicted": wt["internal pages evicted"]
});
profile
정태인의 블로그

0개의 댓글