reduce block size on small tables

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2025-01-16 20:47:00 +00:00
parent 3759d1be6c
commit aad42bdaa0
2 changed files with 21 additions and 1 deletions

View file

@ -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
};