Skip to content

Commit 8f72e75

Browse files
author
Richard Kreuter
committed
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.
1 parent 673c95f commit 8f72e75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/faq/indexes.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To list a collection's indexes, use the
3939
How do you determine the size of an index?
4040
------------------------------------------
4141

42-
To check index size, use :method:`db.collection.totalIndexSize()`.
42+
To check the sizes of the indexes on a collection, use :method:`db.collection.stats()`.
4343

4444
.. todo:: FAQ How do I determine if an index fits into RAM?
4545

0 commit comments

Comments
 (0)