mysql 默认设置

甲骨文MySQL部门副总裁 Tomas Ulin在MySQL Connect 2012大会上称, 甲骨文已经对MySQL Server 5.6中的默认设置进行了更改,主要如下:  

设置旧值新值
back_log5050 + ( max_connections / 5 ) 上限为900
binlog_checksumNONECRC32
binlog-row-event-max-size1k8k
flush_time1800Windows平台从1800改为0
host_cache_size128128 + 1 for each of the first 500 max_connections + 1 for every 20 max_connections over 500, capped at 2000
innodb_autoextend_increment864
innodb_buffer_pool_instances08。在32位Windows中,如果innodb_buffer_pool_size大于1300M,默认值为innodb_buffer_pool_size / 128M
innodb_concurrency_tickets5005000
innodb_file_per_table01
innodb_log_file_size5M48M
innodb_old_blocks_time01000
innodb_open_files300300。如果innodb_file_per_table为ON,则为更高的table_open_cache值或300
innodb_purge_batch_size20300
innodb_purge_threads01
innodb_stats_on_metadataonoff
join_buffer_size128k256k
max_allowed_packet1M4M
max_connect_errors10100
open_files_limit05000
query_cache_size01M
query_cache_typeON/1OFF/0
sort_buffer_size2M256k
sql_modenoneNO_ENGINE_SUBSTITUTION
sync_master_info010000
sync_relay_log010000
sync_relay_log_info010000
table_definition_cache400400 + table_open_cache / 2, capped at 2000
table_open_cache4002000
thread_cache_size08 + max_connections/100, capped at 100
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值