Adjust example konfiguration files for mariadb.

This commit is contained in:
Christoph 2024-03-30 01:49:24 +01:00
parent 30433b7773
commit 58fb07c6cc
2 changed files with 30 additions and 23 deletions

View File

@ -308,8 +308,8 @@ server-id = 1
## - ## -
## - Vorgabewert ist 100 ## - Vorgabewert ist 100
## - ## -
#max-connections = 300 max-connections = 300
max-connections = 150 #max-connections = 150
## - explicit_defaults_for_timestamp ## - explicit_defaults_for_timestamp
@ -440,8 +440,8 @@ innodb-file-per-table = 1
## - default: 134217728 (128M) ## - default: 134217728 (128M)
## - ## -
#innodb-buffer-pool-size = 384M #innodb-buffer-pool-size = 384M
#innodb-buffer-pool-size = 1024M innodb-buffer-pool-size = 1024M
innodb_buffer_pool_size = 4G #innodb_buffer_pool_size = 4G
## - innodb_additional_mem_pool_size ## - innodb_additional_mem_pool_size
@ -485,8 +485,8 @@ innodb_buffer_pool_size = 4G
## (Set .._log_file_size to 25 % of buffer pool size) ## (Set .._log_file_size to 25 % of buffer pool size)
## - ## -
#innodb-log-file-size = 100M #innodb-log-file-size = 100M
#innodb-log-file-size = 256M innodb-log-file-size = 256M
innodb_log_file_size = 750M #innodb_log_file_size = 750M
## - innodb_log_buffer_size ## - innodb_log_buffer_size
## - ## -
@ -563,8 +563,8 @@ innodb_ft_cache_size = 24M
## - ## -
#sort-buffer-size = 2M #sort-buffer-size = 2M
#sort-buffer-size = 24M #sort-buffer-size = 24M
#sort-buffer-size = 32M sort-buffer-size = 32M
sort-buffer-size = 64M #sort-buffer-size = 64M
#_ - key_buffer_size #_ - key_buffer_size
@ -592,8 +592,8 @@ key-buffer-size = 384M
## - Default: 131072 (128K) ## - Default: 131072 (128K)
## - ## -
#read-buffer-size = 2M #read-buffer-size = 2M
#read-buffer-size = 16M read-buffer-size = 16M
read-buffer-size = 32M #read-buffer-size = 32M
## - read_rnd_buffer_size ## - read_rnd_buffer_size
## - ## -
@ -603,8 +603,8 @@ read-buffer-size = 32M
## - Default: 262144 (256K) ## - Default: 262144 (256K)
## - ## -
#read-rnd-buffer-size = 8M #read-rnd-buffer-size = 8M
#read-rnd-buffer-size = 16M read-rnd-buffer-size = 16M
read-rnd-buffer-size = 32M i#read-rnd-buffer-size = 32M
## - myisam_sort_buffer_size ## - myisam_sort_buffer_size
@ -618,7 +618,8 @@ read-rnd-buffer-size = 32M
## - ## -
##myisam-sort-buffer-size = 32M ##myisam-sort-buffer-size = 32M
#myisam-sort-buffer-size = 64M #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 = 384M
#myisam-sort-buffer-size = 512M #myisam-sort-buffer-size = 512M
@ -634,6 +635,8 @@ myisam-sort-buffer-size = 256M
#max-allowed-packet = 4M #max-allowed-packet = 4M
#max-allowed-packet = 32M #max-allowed-packet = 32M
max-allowed-packet = 64M max-allowed-packet = 64M
#max-allowed-packet = 128M
#max-allowed-packet = 512M
## - table_open_cache ## - table_open_cache
@ -712,7 +715,7 @@ thread_cache_size = 32
## - Default: 262144 (256K) ## - Default: 262144 (256K)
## - Default MariaDB: 299008 (292K) ## - Default MariaDB: 299008 (292K)
## - ## -
thread-stack = 262144 #thread-stack = 262144
## - Unbenutze Datenbank Engines deaktivieren ## - Unbenutze Datenbank Engines deaktivieren
@ -748,7 +751,7 @@ thread-stack = 262144
## - ## -
## - ## -
## - Vorgabewert ist 4 ## - Vorgabewert ist 4
#ft-min-word-len = 3 ft-min-word-len = 3
## - ft_stopword_file ## - ft_stopword_file
## - ## -
@ -768,6 +771,7 @@ thread-stack = 262144
## - Default: (built-in) ## - Default: (built-in)
## - ## -
#ft-stopword-file = /usr/local/mysql/stopwords_utf8_iso8859-15.txt #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 = 384K
#join-buffer-size = 512K #join-buffer-size = 512K
#join_buffer_size = 768K #join_buffer_size = 768K
#join_buffer_size = 1024K join_buffer_size = 1024K
join_buffer_size = 1536K #join_buffer_size = 1536K
@ -1084,8 +1088,8 @@ query_cache_type = 1
## - ## -
#query-cache-limit = 4M #query-cache-limit = 4M
#query_cache_limit = 8M #query_cache_limit = 8M
#query_cache_limit = 64M query_cache_limit = 64M
query_cache_limit = 128M #query_cache_limit = 128M
## - query_cache_min_res_unit ## - query_cache_min_res_unit

View File

@ -618,6 +618,7 @@ read-rnd-buffer-size = 32M
## - ## -
#myisam-sort-buffer-size = 32M #myisam-sort-buffer-size = 32M
#myisam-sort-buffer-size = 64M #myisam-sort-buffer-size = 64M
#myisam-sort-buffer-size = 128M
myisam-sort-buffer-size = 256M myisam-sort-buffer-size = 256M
#myisam-sort-buffer-size = 384M #myisam-sort-buffer-size = 384M
#myisam-sort-buffer-size = 512M #myisam-sort-buffer-size = 512M
@ -633,6 +634,8 @@ myisam-sort-buffer-size = 256M
## - ## -
#max-allowed-packet = 4M #max-allowed-packet = 4M
#max-allowed-packet = 32M #max-allowed-packet = 32M
#max-allowed-packet = 64M
#max-allowed-packet = 128M
max-allowed-packet = 512M max-allowed-packet = 512M
@ -767,7 +770,7 @@ thread_cache_size = 300
## - ## -
## - Default: (built-in) ## - 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 = 384K
#join-buffer-size = 512K #join-buffer-size = 512K
join_buffer_size = 768K #join_buffer_size = 768K
#join_buffer_size = 1024K #join_buffer_size = 1024K
#join_buffer_size = 1536K join_buffer_size = 1536K
@ -1070,7 +1073,7 @@ tmp_table_size = 2048M
## - ## -
## - But present at MariaDB ## - But present at MariaDB
## - ## -
query_cache_type = 0 query_cache_type = 1
## - query_cache_limit ## - query_cache_limit