From 8f72e755c29459d9da29df08d38824775f68e3a0 Mon Sep 17 00:00:00 2001 From: Richard Kreuter Date: Fri, 2 Nov 2012 13:18:01 -0300 Subject: [PATCH] Update source/faq/indexes.txt totalIndexSizes shows the sum of index sizes on a collection, not the sizes of each individual index. Collection stats shows the index sizes broken out. --- source/faq/indexes.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/faq/indexes.txt b/source/faq/indexes.txt index d8c9773347a..6783423c452 100644 --- a/source/faq/indexes.txt +++ b/source/faq/indexes.txt @@ -39,7 +39,7 @@ To list a collection's indexes, use the How do you determine the size of an index? ------------------------------------------ -To check index size, use :method:`db.collection.totalIndexSize()`. +To check the sizes of the indexes on a collection, use :method:`db.collection.stats()`. .. todo:: FAQ How do I determine if an index fits into RAM?