File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 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/> `__.
Original file line number Diff line number Diff 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+
806810Learn More
807811----------
808812
Original file line number Diff line number Diff 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
873877Learn More
874878----------
You can’t perform that action at this time.
0 commit comments