# # These groups are read by MariaDB server. # Use it for options that only the server (but not clients) should see # # this is read by the standalone daemon and embedded servers [server] # This group is only read by MariaDB servers, not by MySQL. # If you use the same .cnf file for MySQL and MariaDB, # you can put MariaDB-only options here [mariadb] # This group is read by both MariaDB and MySQL servers [mysqld] max_allowed_packet = 250M max_connect_errors = 100000 transaction-isolation = READ-COMMITTED ### CACHES AND LIMITS # back_log = 20 interactive_timeout = 3600 wait_timeout = 3600 net_read_timeout = 120 net_write_timeout = 300 sort_buffer_size = 32M read_buffer_size = 32M read_rnd_buffer_size = 16M join_buffer_size = 64M tmp_table_size = 512M max_heap_table_size = 512M query_cache_type = 1 query_cache_size = 256M query_cache_limit = 32M max_connections = 2000 thread_cache_size= 32 open_files_limit = 11024 table_definition_cache = 4000 table_open_cache = 14000 ### Obrisati ### max_open_files = 2000 ### INNODB_ # innodb_thread_concurrency = 0 innodb_lock_wait_timeout = 7200 ###innodb_lock_wait_timeout = 0 innodb_flush_method = O_DIRECT innodb_log_files_in_group = 2 innodb_log_file_size = 2G innodb_log_buffer_size = 16M innodb_flush_log_at_trx_commit = 2 innodb_file_per_table = 1 #innodb_io_capacity = 1000 innodb_read_io_threads = 4 innodb_write_io_threads = 4 innodb_buffer_pool_instances = 4 innodb_buffer_pool_size = 8G optimizer_switch='rowid_filter=off' optimizer_use_condition_selectivity = 1 # # * Galera-related settings # [galera] # Mandatory settings #wsrep_on=ON #wsrep_provider= #wsrep_cluster_address= #binlog_format=row #default_storage_engine=InnoDB #innodb_autoinc_lock_mode=2 # # Allow server to accept connections on all interfaces. # #bind-address=0.0.0.0 # # Optional setting #wsrep_slave_threads=1 #innodb_flush_log_at_trx_commit=0 # this is only for embedded server [embedded] # This group is only read by MariaDB servers, not by MySQL. # If you use the same .cnf file for MySQL and MariaDB, # you can put MariaDB-only options here [mariadb] # This group is only read by MariaDB-11.4 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-11.4]