From 058333d2592563353ab1e2b4d665d1c54bb3f782 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Mon, 17 Oct 2016 17:49:40 +0300 Subject: mariadb: added innodb_compression_* options --- modules/apps/mariadb/mysqld.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/apps/mariadb/mysqld.nix b/modules/apps/mariadb/mysqld.nix index d66d96d..fb26ffe 100644 --- a/modules/apps/mariadb/mysqld.nix +++ b/modules/apps/mariadb/mysqld.nix @@ -177,6 +177,10 @@ in { innodb_buffer_pool_instances = optional int; innodb_buffer_pool_load_at_startup = optional bool; innodb_buffer_pool_size = optional int; + innodb_compression_algorithm = optional (enum ["none" "zlib" "lz4" "lzo" "lzma" "bzip2" "snappy"]); + innodb_compression_failure_threshold_pct = optional (addCheck int (i: 0 <= i && i <= 100)); + innodb_compression_level = optional (enum' [0 1 2 3 4 5 6 7 8 9]); + innodb_compression_pad_pct_max = optional (addCheck int (i: 0 <= i && i <= 75)); innodb_doublewrite = optional bool; innodb_file_format = optional (enum ["antelope" "barracuda"]); innodb_file_per_table = optional bool; -- cgit v1.2.3