|
|
@ -523,8 +523,8 @@ public class DbBenchmark { |
|
|
|
BlockBasedTableConfig table_options = new BlockBasedTableConfig(); |
|
|
|
BlockBasedTableConfig table_options = new BlockBasedTableConfig(); |
|
|
|
table_options.setBlockSize((Long)flags_.get(Flag.block_size)) |
|
|
|
table_options.setBlockSize((Long)flags_.get(Flag.block_size)) |
|
|
|
.setBlockCacheSize((Long)flags_.get(Flag.cache_size)) |
|
|
|
.setBlockCacheSize((Long)flags_.get(Flag.cache_size)) |
|
|
|
.setFilterBitsPerKey((Integer)flags_.get(Flag.bloom_bits)) |
|
|
|
.setCacheNumShardBits( |
|
|
|
.setCacheNumShardBits((Integer)flags_.get(Flag.cache_numshardbits)); |
|
|
|
(Integer)flags_.get(Flag.cache_numshardbits)); |
|
|
|
options.setTableFormatConfig(table_options); |
|
|
|
options.setTableFormatConfig(table_options); |
|
|
|
} |
|
|
|
} |
|
|
|
options.setWriteBufferSize( |
|
|
|
options.setWriteBufferSize( |
|
|
|