Skip to content

Commit 1bcbe09

Browse files
jason-price-mongodbjason-price-mongodb
andauthored
DOCSP-14874 bulk max size (#522) (#575)
* 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 <[email protected]> Co-authored-by: jason-price-mongodb <[email protected]>
1 parent f47b5ea commit 1bcbe09

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 Operation Limit Size>`. If a group exceeds this :limit:`limit
2-
<Write Command Operation Limit Size>`, MongoDB will divide the group into
3-
smaller groups of 1000 or less. For example, if the bulk operations list
4-
consists of 2000 insert operations, MongoDB creates 2 groups, each with
5-
1000 operations.
1+
:method:`Bulk()` operations and comparable methods in the drivers do not
2+
have a limit for the number of operations in a group. To see how the
3+
operations are grouped for bulk operation execution, call
4+
: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)