File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change 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.
6
5
7
- The sizes and grouping mechanics are internal performance details and
8
- are subject to change in future versions.
6
+ .. seealso ::
9
7
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 `
You can’t perform that action at this time.
0 commit comments