[Service] LimitMEMLOCK=infinity LimitNOFILE=524288 TimeoutStartSec=600 ExecStartPre=/bin/sync ExecStartPre=/sbin/sysctl -q -w vm.drop_caches=3 innodb_strict_mode=ON log_error = /var/log/mysql/error.log slow_query_log_file = /var/log/mysql/mariadb-slow.log long_query_time = 0.5 log_slow_rate_limit = 1000 log_slow_verbosity = query_plan,explain default_storage_engine = InnoDB sql_mode = ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION [mysqld] max_allowed_packet=512M innodb_large_prefix=ON innodb_file_format=barracuda innodb_file_per_table=ON default-storage-engine = InnoDB innodb_log_file_size = 1G innodb_io_capacity = 2000 innodb_io_capacity = 2000 character-set-server=utf8 collation-server=utf8_unicode_ci query_cache_type = 1 query_cache_limit = 16M query_cache_size = 512M innodb_buffer_pool_size = 60G # Beispielsweise 2/3 des RAM server-id = 1 log-queries-not-using-indexes = 1 log_slow_verbosity = query_plan thread_stack = 512K |