Default to 256KiB block size
This commit is contained in:
parent
c4e696f359
commit
32dc615f88
@ -210,7 +210,8 @@ public class LLLocalKeyValueDatabase implements LLKeyValueDatabase {
|
||||
.setChecksumType(ChecksumType.kxxHash)
|
||||
.setBlockCacheCompressed(optionsWithCache.compressedCache())
|
||||
.setBlockCache(optionsWithCache.standardCache())
|
||||
.setBlockSize(16 * 1024); // 16KiB
|
||||
// Spinning disks: 64KiB to 256KiB (also 512KiB). SSDs: 16KiB
|
||||
.setBlockSize(256 * 1024);
|
||||
|
||||
//columnOptions.setLevelCompactionDynamicLevelBytes(true);
|
||||
columnOptions.setTableFormatConfig(tableOptions);
|
||||
|
Loading…
Reference in New Issue
Block a user