diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2016-10-17 17:49:40 +0300 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2016-10-17 17:49:40 +0300 |
commit | 058333d2592563353ab1e2b4d665d1c54bb3f782 (patch) | |
tree | 576c19ba4fcc837dfd44d08d3b0d0c9b04c883be /modules/apps | |
parent | cef6dce049ccccc8025bf41423f081a0448d06ec (diff) | |
download | nixsap-058333d2592563353ab1e2b4d665d1c54bb3f782.tar.gz |
mariadb: added innodb_compression_* options
Diffstat (limited to 'modules/apps')
-rw-r--r-- | modules/apps/mariadb/mysqld.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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; |