Skip to content

Instantly share code, notes, and snippets.

@berngp
Created March 17, 2012 00:21
Show Gist options
  • Save berngp/2053830 to your computer and use it in GitHub Desktop.
Save berngp/2053830 to your computer and use it in GitHub Desktop.
Example of a mongo stats run on a DB where the indexSize is greater than the dataSize
db.stats()
{
"db" : "sites-api",
"collections" : 4,
"objects" : 47,
"avgObjSize" : 528.6808510638298,
"dataSize" : 24848,
"storageSize" : 84480,
"numExtents" : 5,
"indexes" : 10,
"indexSize" : 81920,
"fileSize" : 201326592,
"ok" : 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment