mirror of
https://github.com/matrix-construct/construct
synced 2025-03-14 05:20:17 +01:00
ircd::db: Some auto-compaction hard values for now.
This commit is contained in:
parent
c53e02428d
commit
3abfb6b949
1 changed files with 5 additions and 3 deletions
|
@ -1482,9 +1482,11 @@ ircd::db::database::column::column(database *const &d,
|
|||
|
||||
//TODO: descriptor / conf
|
||||
this->options.num_levels = 8;
|
||||
this->options.target_file_size_base = 64_MiB;
|
||||
this->options.target_file_size_multiplier = 4; // size at level
|
||||
this->options.level0_file_num_compaction_trigger = 2;
|
||||
this->options.level0_file_num_compaction_trigger = 1;
|
||||
this->options.target_file_size_base = 128_MiB;
|
||||
this->options.max_bytes_for_level_base = 192_MiB;
|
||||
this->options.target_file_size_multiplier = 2; // size at level
|
||||
this->options.max_bytes_for_level_multiplier = 2; // size at level
|
||||
|
||||
log::debug
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue