Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
*Location*: http://docs.mongodb.org/manual/reference/method/
*User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:22.0) Gecko/20100101 Firefox/22.0
*Referrer*: http://docs.mongodb.org/manual/reference/replica-commands/
*Screen Resolution*: 2100 x 1313
*repo*: docs
*source*: reference/method
*Location*: http://docs.mongodb.org/manual/reference/method/ *User-Agent*: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:22.0) Gecko/20100101 Firefox/22.0 *Referrer*: http://docs.mongodb.org/manual/reference/replica-commands/ *Screen Resolution*: 2100 x 1313 *repo*: docs *source*: reference/method
Description
I think thre's typo in following command on "collection"
db.collection.storageSize() - Reports the total size used by the indexes on a collection. Provides a wrapper around the totalIndexSize field of the collStats output.
It should be db.collection.totalIndexSize()