MongoDB displays the current db status

class:MongoDB views:98 Author:xiaomo314
Command
db.stats()
Explanation
Show current db status
Operation result
{
    "db" : "tj",
    "collections" : 1,
    "objects" : 109,
    "avgObjSize" : 55.7522935779817,
    "dataSize" : 6077.0,
    "storageSize" : 36864.0,
    "numExtents" : 0,
    "indexes" : 1,
    "indexSize" : 36864.0,
    "ok" : 1.0
}

This platform is gradually under construction, more development orders are gradually included, any questions or Suggestions can be Contact Us