How to know MongoDB collection size?
db.collection.stats() Response : "count" : 20696445, "size" : NumberLong("1478263842661"), "storageSize" : 334732324864, "totalIndexSize" : 676327424, "indexSizes" : { "_id_" : 377094144, "leadID_1" : 128049152, "leadID_hashed" : 171184128 }, "avgObjSize" : 71425.97884134208 My actual disk size is matched with storageSize. So what is the size and other keys.
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.