How to get the MongoDB' current working set size

Posted by Howard on Server Fault See other posts from Server Fault or by Howard
Published on 2012-09-10T04:39:19Z Indexed on 2012/09/10 9:39 UTC
Read the original article Hit count: 224

Filed under:
|

From the doc , it said

"For best performance, the majority of your active set should fit in RAM."

So for example, my db.stats() give me

{
"db" : "mydb",
"collections" : 16,
"objects" : 21452,
"avgObjSize" : 768.0516501957859,
"dataSize" : 16476244,
"storageSize" : 25385984,
"numExtents" : 43,
"indexes" : 70,
"indexSize" : 15450112,
"fileSize" : 469762048,
"ok" : 1
}

Which value is the working set size?

© Server Fault or respective owner

Related posts about mongodb

Related posts about nosql