From 58fb07c6cc0d75e1d706200662a7f6ff125031d8 Mon Sep 17 00:00:00 2001 From: Christoph Date: Sat, 30 Mar 2024 01:49:24 +0100 Subject: [PATCH] Adjust example konfiguration files for mariadb. --- Example/my.cnf.HUGE.MariaDB-10.11 | 42 ++++++++++++++------------ Example/my.cnf.VERY-HUGE.MariaDB-10.11 | 11 ++++--- 2 files changed, 30 insertions(+), 23 deletions(-) diff --git a/Example/my.cnf.HUGE.MariaDB-10.11 b/Example/my.cnf.HUGE.MariaDB-10.11 index 4210ec1..7fbe5fa 100644 --- a/Example/my.cnf.HUGE.MariaDB-10.11 +++ b/Example/my.cnf.HUGE.MariaDB-10.11 @@ -308,8 +308,8 @@ server-id = 1 ## - ## - Vorgabewert ist 100 ## - -#max-connections = 300 -max-connections = 150 +max-connections = 300 +#max-connections = 150 ## - explicit_defaults_for_timestamp @@ -440,8 +440,8 @@ innodb-file-per-table = 1 ## - default: 134217728 (128M) ## - #innodb-buffer-pool-size = 384M -#innodb-buffer-pool-size = 1024M -innodb_buffer_pool_size = 4G +innodb-buffer-pool-size = 1024M +#innodb_buffer_pool_size = 4G ## - innodb_additional_mem_pool_size @@ -485,8 +485,8 @@ innodb_buffer_pool_size = 4G ## (Set .._log_file_size to 25 % of buffer pool size) ## - #innodb-log-file-size = 100M -#innodb-log-file-size = 256M -innodb_log_file_size = 750M +innodb-log-file-size = 256M +#innodb_log_file_size = 750M ## - innodb_log_buffer_size ## - @@ -563,8 +563,8 @@ innodb_ft_cache_size = 24M ## - #sort-buffer-size = 2M #sort-buffer-size = 24M -#sort-buffer-size = 32M -sort-buffer-size = 64M +sort-buffer-size = 32M +#sort-buffer-size = 64M #_ - key_buffer_size @@ -592,8 +592,8 @@ key-buffer-size = 384M ## - Default: 131072 (128K) ## - #read-buffer-size = 2M -#read-buffer-size = 16M -read-buffer-size = 32M +read-buffer-size = 16M +#read-buffer-size = 32M ## - read_rnd_buffer_size ## - @@ -603,8 +603,8 @@ read-buffer-size = 32M ## - Default: 262144 (256K) ## - #read-rnd-buffer-size = 8M -#read-rnd-buffer-size = 16M -read-rnd-buffer-size = 32M +read-rnd-buffer-size = 16M +i#read-rnd-buffer-size = 32M ## - myisam_sort_buffer_size @@ -618,7 +618,8 @@ read-rnd-buffer-size = 32M ## - ##myisam-sort-buffer-size = 32M #myisam-sort-buffer-size = 64M -myisam-sort-buffer-size = 256M +myisam-sort-buffer-size = 128M +#myisam-sort-buffer-size = 256M #myisam-sort-buffer-size = 384M #myisam-sort-buffer-size = 512M @@ -634,6 +635,8 @@ myisam-sort-buffer-size = 256M #max-allowed-packet = 4M #max-allowed-packet = 32M max-allowed-packet = 64M +#max-allowed-packet = 128M +#max-allowed-packet = 512M ## - table_open_cache @@ -712,7 +715,7 @@ thread_cache_size = 32 ## - Default: 262144 (256K) ## - Default MariaDB: 299008 (292K) ## - -thread-stack = 262144 +#thread-stack = 262144 ## - Unbenutze Datenbank Engines deaktivieren @@ -748,7 +751,7 @@ thread-stack = 262144 ## - ## - ## - Vorgabewert ist 4 -#ft-min-word-len = 3 +ft-min-word-len = 3 ## - ft_stopword_file ## - @@ -768,6 +771,7 @@ thread-stack = 262144 ## - Default: (built-in) ## - #ft-stopword-file = /usr/local/mysql/stopwords_utf8_iso8859-15.txt +ftp-stopword-file = /etc/mysql/stopwords_utf8_iso8859-15.txt ## -------------- @@ -962,8 +966,8 @@ log-queries-not-using-indexes = 0 #join-buffer-size = 384K #join-buffer-size = 512K #join_buffer_size = 768K -#join_buffer_size = 1024K -join_buffer_size = 1536K +join_buffer_size = 1024K +#join_buffer_size = 1536K @@ -1084,8 +1088,8 @@ query_cache_type = 1 ## - #query-cache-limit = 4M #query_cache_limit = 8M -#query_cache_limit = 64M -query_cache_limit = 128M +query_cache_limit = 64M +#query_cache_limit = 128M ## - query_cache_min_res_unit diff --git a/Example/my.cnf.VERY-HUGE.MariaDB-10.11 b/Example/my.cnf.VERY-HUGE.MariaDB-10.11 index 0cb80ec..b585ca3 100644 --- a/Example/my.cnf.VERY-HUGE.MariaDB-10.11 +++ b/Example/my.cnf.VERY-HUGE.MariaDB-10.11 @@ -618,6 +618,7 @@ read-rnd-buffer-size = 32M ## - #myisam-sort-buffer-size = 32M #myisam-sort-buffer-size = 64M +#myisam-sort-buffer-size = 128M myisam-sort-buffer-size = 256M #myisam-sort-buffer-size = 384M #myisam-sort-buffer-size = 512M @@ -633,6 +634,8 @@ myisam-sort-buffer-size = 256M ## - #max-allowed-packet = 4M #max-allowed-packet = 32M +#max-allowed-packet = 64M +#max-allowed-packet = 128M max-allowed-packet = 512M @@ -767,7 +770,7 @@ thread_cache_size = 300 ## - ## - Default: (built-in) ## - -#ft-stopword-file = /usr/local/mysql/stopwords_utf8_iso8859-15.txt +#ft-stopword-file = /etc/mysql/stopwords_utf8_iso8859-15.txt ## -------------- @@ -962,9 +965,9 @@ log-queries-not-using-indexes = 0 ## - #join-buffer-size = 384K #join-buffer-size = 512K -join_buffer_size = 768K +#join_buffer_size = 768K #join_buffer_size = 1024K -#join_buffer_size = 1536K +join_buffer_size = 1536K @@ -1070,7 +1073,7 @@ tmp_table_size = 2048M ## - ## - But present at MariaDB ## - -query_cache_type = 0 +query_cache_type = 1 ## - query_cache_limit