Skip to content

Commit 6f05dfe

Browse files
DOCSP-45728-compressors-option (#179)
* DOCSP-45728-compressors-option * review feedback
1 parent 3d52400 commit 6f05dfe

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

Diff for: source/includes/fact-compressors-option-desc.rst

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Specifies the compression algorithm used between the MongoDB server and
2+
|tool-binary|. You can use one or more of these values for the
3+
``--compressors`` option:
4+
5+
- ``snappy``
6+
- ``zlib``
7+
- ``zstd``
8+
9+
If you specify multiple compression algorithms, |tool-binary| uses the
10+
first one in the list supported by your MongoDB deployment.
11+
12+
For more information on compressors, see the `Go driver network
13+
compression documentation
14+
<https://www.mongodb.com/docs/drivers/go/current/fundamentals/connections/network-compression/>`__.

Diff for: source/mongodump.txt

+4
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,10 @@ Options
803803
view's metadata file in a ``mongorestore`` operation, the view
804804
is recreated.
805805

806+
.. option:: --compressors=<string>
807+
808+
.. include:: /includes/fact-compressors-option-desc.rst
809+
806810
Learn More
807811
----------
808812

Diff for: source/mongorestore.txt

+4
Original file line numberDiff line numberDiff line change
@@ -869,6 +869,10 @@ Options
869869

870870
- You cannot use the ``--archive`` option with the ``--dir`` option.
871871

872+
.. option:: --compressors=<string>
873+
874+
.. include:: /includes/fact-compressors-option-desc.rst
875+
872876

873877
Learn More
874878
----------

0 commit comments

Comments
 (0)