mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-03-29 08:29:54 +00:00
increase compression levels for some column families again
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user