Statistics in MongoDB
I am creating this blog post as a quick reminder of how to check the size of my database:
Per the documentation @ 10Gen, the results of this command return kilobytes[1]. So just divide
everything by (1024^2) to get gigobytes.
31509618/(1024^2) = ~31Gs of data
25900801/(1024^2) = ~25G of indexes (WTF??)
[1] http://docs.mongodb.org/manual/reference/database-statistics/