Reduce bloom filter size
This commit is contained in:
parent
24cf7ea58d
commit
02cd99a963
@ -204,7 +204,7 @@ public class LLLocalKeyValueDatabase implements LLKeyValueDatabase {
|
||||
|
||||
final BlockBasedTableConfig tableOptions = new BlockBasedTableConfig();
|
||||
if (!databaseOptions.lowMemory()) {
|
||||
final BloomFilter bloomFilter = new BloomFilter(10);
|
||||
final BloomFilter bloomFilter = new BloomFilter(3);
|
||||
tableOptions.setFilterPolicy(bloomFilter);
|
||||
tableOptions.setOptimizeFiltersForMemory(true);
|
||||
tableOptions.setVerifyCompression(false);
|
||||
|
Loading…
Reference in New Issue
Block a user