Skip to content

Commit ac54e2f

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-14874 bulk max size (#522) (#565)
* DOCSP-14874-bulk-max-size * DOCSP-14874-bulk-max-size * DOCSP-14874-bulk-max-size * DOCSP-14874-bulk-max-size * DOCSP-14874-bulk-max-size * DOCSP-14874-bulk-max-size Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com> Co-authored-by: jason-price-mongodb <jshfjghsdfgjsdjh@aolsdjfhkjsdhfkjsdf.com>
1 parent abd068d commit ac54e2f

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed
Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
Each group of operations can have at most :limit:`1000 operations <Write Command Batch Limit Size>`. If a group exceeds this
2-
:limit:`limit <Write Command Batch Limit Size>`, MongoDB will divide
3-
the group into smaller groups of 1000 or less. For example, if the bulk
4-
operations list consists of 2000 insert operations, MongoDB creates 2
5-
groups, each with 1000 operations.
1+
:method:`Bulk()` operations in :binary:`~bin.mongosh` and comparable
2+
methods in the drivers do not have a limit for the number of operations
3+
in a group. To see how the operations are grouped for bulk operation
4+
execution, call :method:`Bulk.getOperations()` *after* the execution.
65

7-
The sizes and grouping mechanics are internal performance details and
8-
are subject to change in future versions.
6+
.. seealso::
97

10-
To see how the operations are grouped for a bulk operation execution,
11-
call :method:`Bulk.getOperations()` *after* the execution.
8+
- :limit:`Write Command Batch Limit Size`

0 commit comments

Comments
 (0)