Skip to content
Closed
Show file tree
Hide file tree
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
14 changes: 13 additions & 1 deletion source/includes/options-mongoimport.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# This file borrows content from /includes/options-shared.yaml, which uses
# {{program}} to refer to the tool.
#

program: mongoimport
name: help
inherit:
Expand Down Expand Up @@ -361,4 +360,17 @@ description: |

Use {{role}} in conjunction with :option:`mongoexport --jsonArray`.
optional: true
---
program: mongoimport
name: numInsertionWorkers
directive: option
args: int
default: 1
description: |
.. versionadded:: 3.0.0

Specifies the number of insertion workers to run concurrently.
For large imports, increasing the number of insertion workers
may increase the speed of the import.
optional: true
...
2 changes: 2 additions & 0 deletions source/reference/program/mongoimport.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@ Options

.. include:: /includes/option/option-mongoimport-maintainInsertionOrder.rst

.. include:: /includes/option/option-mongoimport-numInsertionWorkers.rst

.. include:: /includes/option/option-mongoimport-writeConcern.rst

Use
Expand Down