Skip to content

Commit 8955d71

Browse files
author
Ed Costello
committed
DOCS-679 add 256 to list of powerof2sizes (and final size) plus typo cleanup
1 parent 30e9a07 commit 8955d71

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

source/reference/command/collMod.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,14 @@ collMod
2929
The :collflag:`usePowerOf2Sizes` flag changes the method that
3030
MongoDB uses to allocate space on disk for documents in this
3131
collection. By setting :collflag:`usePowerOf2Sizes`, you ensure
32-
that MongoDB will allocates space for documents in sizes that
33-
are powers of 2 (e.g. 4, 8, 16, 32, 64, 128, 512...) With this
34-
option MongoDB will be able to more effectively reuse space.
32+
that MongoDB will allocate space for documents in sizes that
33+
are powers of 2 (e.g. 4, 8, 16, 32, 64, 128, 256, 512...8388608).
34+
With this option MongoDB will be able to more effectively reuse
35+
space.
3536

3637
:collflag:`usePowerOf2Sizes` is useful for collections where you
3738
will be inserting and deleting large numbers of documents to
3839
ensure that MongoDB will effectively use space on disk.
3940

4041
.. include:: /includes/warning-blocking-database.rst
42+

0 commit comments

Comments
 (0)