Batched inserts
Insert a batch of documents at a time. In particular, using the old style
insert([ {}, {}, ... ])
batch inserts.
Test
Insert 250 documents { fieldName: "xxx..." }
where bsonsize < 512 bytes.
Results are reported as ops / sec.
Setup
Nothing. Inserts into an empty collection.
Notes
BenchRun does not support bulkWrite() and in particular cannot do unordered bulk inserts. For a sharded cluster therefore this isn't really testing what we want. We compensate with higher thread count.
Owning-team
mongodb/product-query
- Source:
Members
(inner) retryable_writes
Whether to run this test with retryable writes. Defaults to false.
The actual values in use are injected by run_workloads.py, which gets it from config file, see this hello world example.
- Source:
(inner) thread_levels
The number of threads to run in parallel. The default is [1, 8, 16].
The actual values in use are injected by run_workloads.py, which gets it from config file, see this hello world example.
- Source: