Skip to content

Commit 926df19

Browse files
kevinadikay-kim
authored andcommitted
DOCS-8986 clarify compact with MMAPv1 and WiredTiger
1 parent c85e65b commit 926df19

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/reference/command/compact.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,10 @@ You cannot issue :dbcommand:`compact` against a :binary:`~bin.mongos` instance.
207207
Capped Collections
208208
~~~~~~~~~~~~~~~~~~
209209

210-
It is not possible or necessary to compact :term:`capped collections <capped
211-
collection>` because they lack padding and their documents cannot grow.
212-
As a result, they cannot become fragmented.
210+
On :ref:`MMAPv1 <storage-mmapv1>`, it is not possible to compact :term:`capped collections <capped
211+
collection>`.
212+
213+
On :ref:`WiredTiger <storage-wiredtiger>`, the :dbcommand:`compact` command will attempt to compact the collection.
213214

214215
Index Building
215216
~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)