increase compression levels for some column families again

This commit is contained in:
morguldir
2025-02-22 17:12:31 +01:00
parent 8085a1c064
commit bec19df275
2 changed files with 4 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ pub(crate) struct Descriptor {
write_size: 1024 * 1024 * 32, write_size: 1024 * 1024 * 32,
cache_shards: 128, cache_shards: 128,
compression_level: -3, compression_level: -3,
bottommost_level: Some(-1), bottommost_level: Some(2),
compressed_index: true, compressed_index: true,
..BASE ..BASE
}; };
@@ -95,7 +95,7 @@ pub(crate) struct Descriptor {
file_size: 1024 * 1024 * 2, file_size: 1024 * 1024 * 2,
cache_shards: 128, cache_shards: 128,
compression_level: -2, compression_level: -2,
bottommost_level: Some(-1), bottommost_level: Some(2),
compression_shape: [0, 0, 1, 1, 1, 1, 1], compression_shape: [0, 0, 1, 1, 1, 1, 1],
compressed_index: false, compressed_index: false,
..BASE ..BASE

View File

@@ -171,6 +171,8 @@ pub(super) fn open_list(db: &Arc<Engine>, maps: &[Descriptor]) -> Result<Maps> {
name: "roomsynctoken_shortstatehash", name: "roomsynctoken_shortstatehash",
val_size_hint: Some(8), val_size_hint: Some(8),
block_size: 512, block_size: 512,
compression_level: 3,
bottommost_level: Some(6),
..descriptor::SEQUENTIAL ..descriptor::SEQUENTIAL
}, },
Descriptor { Descriptor {