From 46de10bb34adbcc636fbb42223f3e9660fb435e5 Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Wed, 23 Oct 2024 09:22:56 +0200 Subject: [PATCH] update --- docs/user/Howto/Terraform-provider.md | 2 +- .../Products/MariaDb/configuration.md | 20 ++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/docs/user/Howto/Terraform-provider.md b/docs/user/Howto/Terraform-provider.md index 34657e9..1f6afb7 100644 --- a/docs/user/Howto/Terraform-provider.md +++ b/docs/user/Howto/Terraform-provider.md @@ -74,7 +74,7 @@ In that case set: network_vpc_uuid = ccx_vpc.venus.id ``` -in the resource "ccx_datastore" section, see also [example_datastore.tf](examples/example_datastore.tf) +in the resource "ccx_datastore" section, see also [example_datastore.tf](https://github.com/severalnines/terraform-provider-ccx/blob/master/examples/example_datastore.tf) ### Advanced Usage diff --git a/docs/user/Reference/Products/MariaDb/configuration.md b/docs/user/Reference/Products/MariaDb/configuration.md index 8aad8de..1793451 100644 --- a/docs/user/Reference/Products/MariaDb/configuration.md +++ b/docs/user/Reference/Products/MariaDb/configuration.md @@ -1,20 +1,22 @@ # Configuration -## Important default values -### max_connections +## max_connections * 75 connections / GB of RAM. * Example: 4GB of RAM yields 300 connections. * This setting cannot be changed as it affects system stability. -### sql_mode -* This setting cannot be changed currently. Please contact support to change this. - -### time_zone -* This setting cannot be changed currently. Please contact support to change this. +## InnoDb settings +* These setting cannot be changed as it affects system stability. +### innodb_buffer_pool_size +* 50% of RAM if total RAM is > 4GB +* 25% of RAM if total RAM is <= 4GB +### innodb_log_file_size +* 1024 MB if innodb_buffer_pool_size >= 8192MB +* 512 MB if innodb_buffer_pool_size < 8192MB +### innodb_buffer_pool_instances +* 8 ## Storage ### Recommended storage size * We recommend a maximum of 100GB storage per GB of RAM. * Example: 4GB of RAM yields 400GB of storage. * The recommendation is not enforced by the CCX platform. - -