Home
last modified time | relevance | path

Searched refs:batch_size (Results 1 – 8 of 8) sorted by relevance

/rocksdb-6.9/util/
Dfilter_bench.cc555 uint32_t batch_size = 1; in RandomQueryTest() local
560 batch_size = static_cast<uint32_t>(kms_.size()); in RandomQueryTest()
563 batch_slices.reset(new Slice[batch_size]); in RandomQueryTest()
564 batch_slice_ptrs.reset(new Slice *[batch_size]); in RandomQueryTest()
565 batch_results.reset(new bool[batch_size]); in RandomQueryTest()
566 for (uint32_t i = 0; i < batch_size; ++i) { in RandomQueryTest()
586 for (uint32_t i = 0; i < batch_size; ++i) { in RandomQueryTest()
601 for (uint32_t i = 0; i < batch_size; ++i) { in RandomQueryTest()
605 for (uint32_t i = 0; i < batch_size; ++i) { in RandomQueryTest()
613 for (uint32_t i = 0; i < batch_size; ++i) { in RandomQueryTest()
[all …]
/rocksdb-6.9/db/
Dwrite_thread.cc471 auto batch_size = WriteBatchInternal::ByteSize(w->batch); in EnterAsBatchGroupLeader() local
472 if (size + batch_size > max_size) { in EnterAsBatchGroupLeader()
478 size += batch_size; in EnterAsBatchGroupLeader()
526 auto batch_size = WriteBatchInternal::ByteSize(w->batch); in EnterAsMemTableWriter() local
527 if (size + batch_size > max_size) { in EnterAsMemTableWriter()
531 size += batch_size; in EnterAsMemTableWriter()
Dversion_set.cc1949 uint64_t batch_size = 0; in MultiGet() local
1966 batch_size++; in MultiGet()
2017 RecordInHistogram(db_statistics_, SST_BATCH_SIZE, batch_size); in MultiGet()
/rocksdb-6.9/table/cuckoo/
Dcuckoo_table_reader_test.cc469 void ReadKeys(uint64_t num, uint32_t batch_size) { in ReadKeys() argument
511 if (batch_size > 0) { in ReadKeys()
512 for (uint64_t i = 0; i < num; i += batch_size) { in ReadKeys()
513 for (uint64_t j = i; j < i+batch_size && j < num; ++j) { in ReadKeys()
516 for (uint64_t j = i; j < i+batch_size && j < num; ++j) { in ReadKeys()
530 time_per_op, 1.0 / time_per_op, batch_size); in ReadKeys()
/rocksdb-6.9/utilities/transactions/
Dwrite_unprepared_transaction_test.cc333 for (size_t batch_size : {1, 1000000}) { in TEST_P()
334 txn_options.write_batch_flush_threshold = batch_size; in TEST_P()
424 for (size_t batch_size : {1, 1000000}) { in TEST_P()
425 txn_options.write_batch_flush_threshold = batch_size; in TEST_P()
/rocksdb-6.9/docs/_posts/
D2019-08-15-unordered-write.markdown49 … --num=10000000 -max_write_buffer_number=16 --max_background_jobs=64 --batch_size=8 --writes=30000…
/rocksdb-6.9/db/db_impl/
Ddb_impl.cc2182 size_t batch_size = (keys_left > MultiGetContext::MAX_BATCH_SIZE) in MultiGetImpl() local
2186 batch_size, snapshot); in MultiGetImpl()
2190 keys_left -= batch_size; in MultiGetImpl()
/rocksdb-6.9/tools/
Ddb_bench_tool.cc273 DEFINE_int64(batch_size, 1, "Batch size");