Specify column cache sizes explicitly; default fallback of 2MB (#2358)
* allow specifying cache sizes for specific columns * initialize client with correct cache size * set cache size in client service * default cache size for unspecified columns * fix comment * fix column selection logic * fix migrations module
This commit is contained in:
committed by
Gav Wood
parent
ad63780b4d
commit
fb92a98451
@@ -160,7 +160,7 @@ fn consolidate_database(
|
||||
let config = default_migration_settings(compaction_profile);
|
||||
let mut db_config = DatabaseConfig {
|
||||
max_open_files: 64,
|
||||
cache_size: None,
|
||||
cache_sizes: Default::default(),
|
||||
compaction: config.compaction_profile,
|
||||
columns: None,
|
||||
wal: true,
|
||||
|
||||
Reference in New Issue
Block a user