# ERP5 buildout my.cnf template based on my-huge.cnf shipped with mysql # The MySQL server [mysqld] # ERP5 by default requires InnoDB storage. MySQL by default fallbacks to using # different engine, like MyISAM. Such behaviour generates problems only, when # tables requested as InnoDB are silently created with MyISAM engine. # # Loud fail is really required in such case. sql_mode="NO_ENGINE_SUBSTITUTION" skip_show_database bind_address = 10.0.148.200 port = 2099 socket = /srv/slapgrid/slappart25/var/run/mariadb.sock datadir = /srv/slapgrid/slappart25/srv/mariadb tmpdir = /srv/slapgrid/slappart25/tmp pid_file = /srv/slapgrid/slappart25/var/run/mariadb.pid log_error = /srv/slapgrid/slappart25/var/log/mariadb_error.log slow_query_log slow_query_log_file = /srv/slapgrid/slappart25/var/log/mariadb_slowquery.log long_query_time = 1 max_allowed_packet = 128M query_cache_size = 32M innodb_file_per_table = 0 plugin_load = ha_mroonga.so;handlersocket.so # By default only 100 connections are allowed, when using zeo # we may have much more connections max_connections = 1000 innodb_buffer_pool_size = 17179869184 innodb_buffer_pool_instances = 16 innodb_log_file_size = 134217728 # very important to allow parallel indexing # Note: this is compatible with binlog-based incremental backups, because ERP5 # doesn't use "insert ... select" (in any number of queries) pattern. innodb_locks_unsafe_for_binlog = 1 # Some dangerous settings you may want to uncomment temporarily # if you only want performance or less disk access. #innodb_flush_log_at_trx_commit = 0 #innodb_flush_method = nosync #innodb_doublewrite = 0 #sync_frm = 0 # Force utf8 usage collation_server = utf8_unicode_ci character_set_server = utf8 skip_character_set_client_handshake [client] socket = /srv/slapgrid/slappart25/var/run/mariadb.sock user = root [mysql] no_auto_rehash [mysqlhotcopy] interactive_timeout [mysqldump] max_allowed_packet = 128M