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:
Robert Habermeier
2016-09-27 18:16:32 +02:00
committed by Gav Wood
parent ad63780b4d
commit fb92a98451
4 changed files with 31 additions and 11 deletions

View File

@@ -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,