Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions source/reference/command/compact.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,10 @@ You cannot issue :dbcommand:`compact` against a :binary:`~bin.mongos` instance.
Capped Collections
~~~~~~~~~~~~~~~~~~

It is not possible or necessary to compact :term:`capped collections <capped
collection>` because they lack padding and their documents cannot grow.
As a result, they cannot become fragmented.
On :ref:`MMAPv1 <storage-mmapv1>`, it is not possible to compact :term:`capped collections <capped
collection>`.

On :ref:`WiredTiger <storage-wiredtiger>`, the :dbcommand:`compact` command will attempt to compact the collection.

Index Building
~~~~~~~~~~~~~~
Expand Down