diff --git a/mariadb/my.cnf b/mariadb/my.cnf index 4b94d2f..4851d6a 100644 --- a/mariadb/my.cnf +++ b/mariadb/my.cnf @@ -135,15 +135,16 @@ skip-external-locking # # * Fine Tuning # -max_connections = 100 +max_connections = 151 connect_timeout = 5 wait_timeout = 600 max_allowed_packet = 16M -thread_cache_size = 128 +thread_cache_size = 128 +# join_buffer_size = 1MB sort_buffer_size = 4M bulk_insert_buffer_size = 16M -tmp_table_size = 32M -max_heap_table_size = 32M +tmp_table_size = 128M +max_heap_table_size = 128M # # * MyISAM # @@ -162,7 +163,7 @@ read_rnd_buffer_size = 1M # # Cache only tiny result sets, so we can fit more in the query cache. query_cache_limit = 128K -query_cache_size = 64M +query_cache_size = 128M # for more write intensive setups, set to DEMAND or OFF #query_cache_type = DEMAND @@ -218,7 +219,7 @@ expire_logs_days = 10 default_storage_engine = InnoDB # you can't just change log file size, requires special procedure #innodb_log_file_size = 50M -innodb_buffer_pool_size = 256M +innodb_buffer_pool_size = 512M innodb_log_buffer_size = 8M innodb_file_per_table = 1 innodb_open_files = 400 @@ -242,7 +243,7 @@ innodb_flush_method = O_DIRECT # MySQL/MariaDB default is Latin1, but in Debian we rather default to the full # utf8 4-byte character set. See also client.cnf character-set-server = utf8mb4 -collation-server = utf8mb4_general_ci +collation-server = utf8mb4_unicode_ci # this is only for embedded server [embedded] @@ -255,7 +256,7 @@ collation-server = utf8mb4_general_ci # This group is only read by MariaDB-10.5 servers. # If you use the same .cnf file for MariaDB of different versions, # use this group for options that older servers don't understand -[mariadb-10.5] +[mariadb-10.10] # # * Galera-related settings #