0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd:Ⓜ️:dbs: Add meta block size confs for select direct columns; tweak block sizes.

This commit is contained in:
Jason Volk 2018-10-21 00:19:42 -07:00
parent 5a82a2e4e5
commit 337810d7e0
2 changed files with 19 additions and 3 deletions

View file

@ -107,6 +107,7 @@ namespace ircd::m::dbs::desc
extern const db::descriptor events_content;
extern conf::item<size_t> events__depth__block__size;
extern conf::item<size_t> events__depth__meta_block__size;
extern conf::item<size_t> events__depth__cache__size;
extern conf::item<size_t> events__depth__cache_comp__size;
extern const db::descriptor events_depth;
@ -132,6 +133,7 @@ namespace ircd::m::dbs::desc
extern const db::descriptor events_origin;
extern conf::item<size_t> events__origin_server_ts__block__size;
extern conf::item<size_t> events__origin_server_ts__meta_block__size;
extern conf::item<size_t> events__origin_server_ts__cache__size;
extern conf::item<size_t> events__origin_server_ts__cache_comp__size;
extern const db::descriptor events_origin_server_ts;

View file

@ -2263,6 +2263,13 @@ ircd::m::dbs::desc::events__origin_server_ts__block__size
{ "default", 256L },
};
decltype(ircd::m::dbs::desc::events__origin_server_ts__meta_block__size)
ircd::m::dbs::desc::events__origin_server_ts__meta_block__size
{
{ "name", "ircd.m.dbs.events.origin_server_ts.meta_block.size" },
{ "default", 256L },
};
decltype(ircd::m::dbs::desc::events__origin_server_ts__cache__size)
ircd::m::dbs::desc::events__origin_server_ts__cache__size
{
@ -2349,7 +2356,7 @@ decltype(ircd::m::dbs::desc::events__signatures__block__size)
ircd::m::dbs::desc::events__signatures__block__size
{
{ "name", "ircd.m.dbs.events.signatures.block.size" },
{ "default", 512L },
{ "default", 1024L },
};
decltype(ircd::m::dbs::desc::events__signatures__cache__size)
@ -2432,7 +2439,7 @@ decltype(ircd::m::dbs::desc::events__auth_events__block__size)
ircd::m::dbs::desc::events__auth_events__block__size
{
{ "name", "ircd.m.dbs.events.auth_events.block.size" },
{ "default", 512L },
{ "default", 1024L },
};
decltype(ircd::m::dbs::desc::events__auth_events__cache__size)
@ -2517,6 +2524,13 @@ ircd::m::dbs::desc::events__depth__block__size
{ "default", 256L },
};
decltype(ircd::m::dbs::desc::events__depth__meta_block__size)
ircd::m::dbs::desc::events__depth__meta_block__size
{
{ "name", "ircd.m.dbs.events.depth.meta_block.size" },
{ "default", 256L },
};
decltype(ircd::m::dbs::desc::events__depth__cache__size)
ircd::m::dbs::desc::events__depth__cache__size
{
@ -2760,7 +2774,7 @@ decltype(ircd::m::dbs::desc::events__prev_events__block__size)
ircd::m::dbs::desc::events__prev_events__block__size
{
{ "name", "ircd.m.dbs.events.prev_events.block.size" },
{ "default", 512L },
{ "default", 1024L },
};
decltype(ircd::m::dbs::desc::events__prev_events__cache__size)