Skip to content

DOCS-8986 clarify compact with MMAPv1 and WiredTiger #3196

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 12, 2018
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