refs #8414 - Add config files for test-db
This commit is contained in:
parent
f5afa8e47f
commit
cfcbfbc63e
|
@ -0,0 +1,100 @@
|
||||||
|
[mysqld]
|
||||||
|
# Docs: https://mariadb.com/kb/en/server-system-variables
|
||||||
|
|
||||||
|
lc_messages = es_ES
|
||||||
|
lc_time_names = es_ES
|
||||||
|
character-set-server = utf8
|
||||||
|
collation-server = utf8_unicode_ci
|
||||||
|
explicit_defaults_for_timestamp = ON
|
||||||
|
datadir = /mnt/mysqldata/
|
||||||
|
tmpdir = /mnt/mysqltmp
|
||||||
|
|
||||||
|
#++++++++++++++++++++++++++++++++++++++++ Binary log
|
||||||
|
|
||||||
|
log-bin = bin.log
|
||||||
|
max_binlog_size = 1GB
|
||||||
|
binlog_cache_size = 16M
|
||||||
|
binlog_stmt_cache_size = 16M
|
||||||
|
expire_logs_days = 1
|
||||||
|
binlog_row_image = noblob
|
||||||
|
binlog_format = row
|
||||||
|
relay_log = mysqld-relay-bin
|
||||||
|
|
||||||
|
#++++++++++++++++++++++++++++++++++++++++ Threads
|
||||||
|
|
||||||
|
max_connections = 1000
|
||||||
|
thread_stack = 512K
|
||||||
|
join_buffer_size = 2M
|
||||||
|
sort_buffer_size = 4M
|
||||||
|
net_buffer_length = 256K
|
||||||
|
max_allowed_packet = 16M
|
||||||
|
read_buffer_size = 1M
|
||||||
|
read_rnd_buffer_size = 512K
|
||||||
|
|
||||||
|
#++++++++++++++++++++++++++++++++++++++++ Performance
|
||||||
|
|
||||||
|
thread_cache_size = 450
|
||||||
|
interactive_timeout = 1800
|
||||||
|
wait_timeout = 1800
|
||||||
|
open_files_limit = 62000
|
||||||
|
low_priority_updates = 1
|
||||||
|
table_open_cache = 28000
|
||||||
|
table_definition_cache = 14000
|
||||||
|
table_open_cache_instances = 1
|
||||||
|
key_buffer_size = 8M
|
||||||
|
max_heap_table_size = 256M
|
||||||
|
tmp_table_size = 256M
|
||||||
|
concurrent_insert = ALWAYS
|
||||||
|
group_concat_max_len = 10000
|
||||||
|
max_connect_errors = 50
|
||||||
|
|
||||||
|
#++++++++++++++++++++++++++++++++++++++++ Query cache
|
||||||
|
|
||||||
|
query_cache_limit = 0
|
||||||
|
query_cache_type = OFF
|
||||||
|
query_cache_size = 0
|
||||||
|
|
||||||
|
#++++++++++++++++++++++++++++++++++++++++ InnoDB
|
||||||
|
|
||||||
|
transaction-isolation = READ-COMMITTED
|
||||||
|
innodb_io_capacity = 100
|
||||||
|
innodb_io_capacity_max = 100
|
||||||
|
innodb_monitor_enable = all
|
||||||
|
innodb_read_io_threads = 16
|
||||||
|
innodb_write_io_threads = 16
|
||||||
|
innodb_checksum_algorithm = crc32
|
||||||
|
innodb_adaptive_hash_index = 0
|
||||||
|
innodb_flush_method = O_DIRECT
|
||||||
|
innodb_log_buffer_size = 32M
|
||||||
|
innodb_log_file_size = 5G
|
||||||
|
innodb_purge_threads = 4
|
||||||
|
innodb_buffer_pool_dump_at_shutdown = ON
|
||||||
|
innodb_buffer_pool_load_at_startup = ON
|
||||||
|
|
||||||
|
#++++++++++++++++++++++++++++++++++++++++ SSL
|
||||||
|
|
||||||
|
ssl-ca = /etc/mysql/ca.pem
|
||||||
|
ssl-cert = /etc/mysql/cert.pem
|
||||||
|
ssl-key = /etc/mysql/key.pem
|
||||||
|
|
||||||
|
#++++++++++++++++++++++++++++++++++++++++ Logging
|
||||||
|
|
||||||
|
log_error = /var/log/mysql/error.log
|
||||||
|
log_warnings = 2
|
||||||
|
log_output = TABLE
|
||||||
|
general_log = OFF
|
||||||
|
slow_query_log = ON
|
||||||
|
long_query_time = 2
|
||||||
|
min_examined_row_limit = 0
|
||||||
|
log_slow_admin_statements = ON
|
||||||
|
log_queries_not_using_indexes = OFF
|
||||||
|
max_error_count = 100
|
||||||
|
|
||||||
|
#++++++++++++++++++++++++++++++++++++++++ Performance Schema
|
||||||
|
|
||||||
|
performance_schema = ON
|
||||||
|
performance_schema_digests_size = 20000
|
||||||
|
performance-schema-consumer-events-statements-history = ON
|
||||||
|
performance_schema_consumer_events_statements_history_long = ON
|
||||||
|
query_response_time_stats = ON
|
||||||
|
userstat = ON
|
|
@ -0,0 +1,3 @@
|
||||||
|
[mysqld]
|
||||||
|
|
||||||
|
event-scheduler = OFF
|
|
@ -0,0 +1,6 @@
|
||||||
|
[mysqld]
|
||||||
|
|
||||||
|
server-id = 1
|
||||||
|
port = 3307
|
||||||
|
bind-address = 0.0.0.0
|
||||||
|
innodb_buffer_pool_size = 18G
|
Loading…
Reference in New Issue