Blame | Last modification | View Log | RSS feed
## Global Akonadi MySQL server settings,# These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf## Based on advice by Kris Köhntopp <kris@mysql.com>#[mysqld]skip_grant_tablesskip_networking# strict query parsing/interpretation# TODO: make Akonadi work with those settings enabled#sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat#sql_mode=strict_trans_tables# use InnoDB for transactions and better crash recoverydefault_storage_engine=innodb# case-insensitive table names, avoids trouble on windowslower_case_table_names=1character_set_server=latin1collation_server=latin1_general_citable_cache=200thread_cache_size=3log_bin=mysql-binexpire_logs_days=3#sync_bin_log=0# error log file name, relative to datadirlog_error=mysql.errlog_warnings=2# log all queries, useful for debugging but generates an enormous amount of data#log=mysql.full# log queries slower than n seconds, log file name relative to datadirlog_slow_queries=mysql.slowlong_query_time=1# log queries not using indices, debug only, disable for production uselog_queries_not_using_indexes=1# maximum blob sizemax_allowed_packet=32Mmax_connections=256# makes sense when having the same query multiple times# makes no sense with prepared statements and/or transactionsquery_cache_type=0query_cache_size=0innodb_file_per_table=1innodb_log_buffer_size=1Minnodb_additional_mem_pool_size=1M# messure database size and adjust# SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");innodb_buffer_pool_size=80M# size of average write burst, keep Innob_log_waits small, keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)innodb_log_file_size=8Minnodb_flush_log_at_trx_commit=2