How to get the MongoDB' current working set size
- by Howard
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?