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
6 changes: 3 additions & 3 deletions source/reference/command/compact.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ compact

.. versionadded:: v2.2

In production deployments, collections should always have at least
100 bytes of padding, and generally have a padding factor that is
10% of the average document size.
The following example runs the :dbcommand:`compact`
command with the ``paddingBytes`` set to ``100`` bytes and the
``paddingFactor`` set to ``1.1``.

.. code-block:: javascript

Expand Down