reduce block size on small tables
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
3759d1be6c
commit
aad42bdaa0
2 changed files with 21 additions and 1 deletions
|
@ -83,6 +83,9 @@ pub(crate) static RANDOM_SMALL: Descriptor = Descriptor {
|
|||
write_size: 1024 * 1024 * 16,
|
||||
level_size: 1024 * 512,
|
||||
file_size: 1024 * 128,
|
||||
index_size: 512,
|
||||
block_size: 512,
|
||||
cache_shards: 64,
|
||||
..RANDOM
|
||||
};
|
||||
|
||||
|
@ -91,5 +94,7 @@ pub(crate) static SEQUENTIAL_SMALL: Descriptor = Descriptor {
|
|||
write_size: 1024 * 1024 * 16,
|
||||
level_size: 1024 * 1024,
|
||||
file_size: 1024 * 512,
|
||||
block_size: 512,
|
||||
cache_shards: 64,
|
||||
..SEQUENTIAL
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue