mirror of
https://github.com/matrix-construct/construct
synced 2024-11-20 00:33:15 +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
|
//TODO: descriptor / conf
|
||||||
this->options.num_levels = 8;
|
this->options.num_levels = 8;
|
||||||
this->options.target_file_size_base = 64_MiB;
|
this->options.level0_file_num_compaction_trigger = 1;
|
||||||
this->options.target_file_size_multiplier = 4; // size at level
|
this->options.target_file_size_base = 128_MiB;
|
||||||
this->options.level0_file_num_compaction_trigger = 2;
|
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
|
log::debug
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue