0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-01-14 00:34:18 +01:00

ircd:Ⓜ️:dbs: Options package; configuration tweak.

This commit is contained in:
Jason Volk 2018-11-02 18:31:20 -07:00
parent 25e6cd1332
commit a5955fc9ae
2 changed files with 8 additions and 5 deletions

View file

@ -1574,7 +1574,7 @@ ircd::db::database::column::column(database &d,
// better to use pre-read except in the case of a massive database. No
// known deployments which exceed partitioned pre-read exist so these
// settings are unconditionally false.
table_opts.cache_index_and_filter_blocks = false;
table_opts.cache_index_and_filter_blocks = true;
table_opts.cache_index_and_filter_blocks_with_high_priority = false;
table_opts.pin_top_level_index_and_filter = false;
table_opts.pin_l0_filter_and_index_blocks_in_cache = false;

View file

@ -892,6 +892,9 @@ ircd::m::dbs::desc::events__room_head
// meta_block size
size_t(events__room_head__meta_block__size),
// compression
{}, // no compression for this column
};
//
@ -1518,7 +1521,7 @@ decltype(ircd::m::dbs::desc::events__state_node__meta_block__size)
ircd::m::dbs::desc::events__state_node__meta_block__size
{
{ "name", "ircd.m.dbs.events._state_node.meta_block.size" },
{ "default", 4096L },
{ "default", 1024L },
};
decltype(ircd::m::dbs::desc::events__state_node__cache__size)
@ -1613,7 +1616,7 @@ decltype(ircd::m::dbs::desc::events___event__meta_block__size)
ircd::m::dbs::desc::events___event__meta_block__size
{
{ "name", "ircd.m.dbs.events.__event.meta_block.size" },
{ "default", 8192L },
{ "default", long(8_KiB) },
};
decltype(ircd::m::dbs::desc::events___event__bloom__bits)
@ -2609,7 +2612,7 @@ ircd::m::dbs::desc::events_auth_events
size_t(events___event__bloom__bits),
// expect queries hit
false,
true,
// block size
size_t(events__auth_events__block__size),
@ -3041,7 +3044,7 @@ ircd::m::dbs::desc::events_prev_state
size_t(events___event__bloom__bits),
// expect queries hit
false,
true,
// block size
size_t(events__prev_state__block__size),