Details
-
Bug
-
Resolution: Duplicate
-
Minor - P4
-
None
-
1.5.6
-
None
-
None
-
ALL
Description
> db.stats()
{
"collections" : 3,
"objects" : 10004,
"avgObjSize" : 36.00479808076769,
"dataSize" : 360192,
"storageSize" : 791296,
"numExtents" : 7,
"indexes" : 1,
"indexSize" : 425984,
"fileSize" : 201326592,
"ok" : 1
}
> show collections
products
system.indexes
> db.getCollectionNames()
[ "products", "system.indexes" ]
show collections should include system.namespaces so that stats() is accurate.