博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
MySQL 线上配置文件
阅读量:6647 次
发布时间:2019-06-25

本文共 2065 字,大约阅读时间需要 6 分钟。

  hot3.png

[client]port            = 3306socket          = /tmp/mysql.sockdefault-character-set = utf8[mysqld]default-character-set = utf8user = mysqlport            = 3306socket          = /tmp/mysql.sockbasedir = /usr/local/mysqldatadir = /data/mysql/datalog-error = /data/mysql/mysql-error.logpid-file = /data/mysql/mysql.pidft_min_word_len = 1old-passwords = 1log_slave_updates = 1log-bin = /data/mysql/binlog/mysql-binbinlog_format = mixedbinlog_cache_size = 4Mmax_binlog_cache_size = 8Mmax_binlog_size = 1Gexpire_logs_days = 90binlog-ignore-db = mysqlbinlog-ignore-db = testbinlog-ignore-db = information_schemakey_buffer_size = 384Mread_buffer_size = 4Mread_rnd_buffer_size = 16Msort_buffer_size = 8Mjoin_buffer_size = 8Mthread_cache_size = 8query_cache_size = 32Mquery_cache_limit = 2Mquery_cache_min_res_unit = 2kthread_concurrency = 8table_cache = 614table_open_cache = 512open-files-limit = 10240back_log = 600max_connections = 5000max_connect_errors = 6000external-locking = FALSEmax_allowed_packet = 16Mdefault-storage-engine = MYISAMthread_stack = 256Ktransaction_isolation = REPEATABLE-READtmp_table_size = 256Mmax_heap_table_size = 512Mbulk_insert_buffer_size = 64Mmyisam_sort_buffer_size = 64Mmyisam_max_sort_file_size = 10Gmyisam_repair_threads = 1myisam_recoverlong_query_time = 2slow_query_logslow_query_log_file = /data/mysql/slow.logskip-lockingskip-name-resolveserver-id = 1innodb_additional_mem_pool_size = 16Minnodb_buffer_pool_size = 512Minnodb_data_file_path = ibdata1:10M:autoextendinnodb_file_io_threads = 4innodb_thread_concurrency = 8innodb_flush_log_at_trx_commit = 1innodb_log_buffer_size = 16Minnodb_log_file_size = 128Minnodb_log_files_in_group = 3innodb_max_dirty_pages_pct = 90innodb_lock_wait_timeout = 120innodb_file_per_table = 0[mysqldump]quickmax_allowed_packet = 16M[mysql]no-auto-rehashRemove the next comment character if you are not familiar with SQLsafe-updates[myisamchk]key_buffer_size = 256Msort_buffer_size = 256Mread_buffer = 2Mwrite_buffer = 2M[mysqlhotcopy]interactive-timeout

转载于:https://my.oschina.net/liting/blog/387458

你可能感兴趣的文章
ios开发之启动画面及动画
查看>>
在线机器学习算法及其伪代码
查看>>
Oracle字符集的查看查询和Oracle字符集的设置修改
查看>>
简单ALU(算术逻辑单元)的verilog实现
查看>>
(Problem 35)Circular primes
查看>>
任务栏多窗口重叠
查看>>
Inno Setup 精灵显示插件 InnoFairy (V2.0 版本)
查看>>
C++ STL算法系列4---unique , unique_copy函数
查看>>
这样解决浏览器不兼容问题
查看>>
Go Revel - Jobs(任务调度模块)
查看>>
网易游戏2011.10.15校园招聘笔试题
查看>>
applet示例 WelcomeApplet.java <Core Java>
查看>>
Javascript一些小细节
查看>>
SqlServer基础:IsNull
查看>>
Android 常用控件自定义样式RadioButton、CheckBox、ProgressBar、
查看>>
HTML(.js) – 最简单的方式操作 DOM 的 JS 库
查看>>
PowerDesigner
查看>>
两分钟彻底让你明白Android Activity生命周期(图文)!
查看>>
ios之清除cell缓存,解决cell的重用问题。
查看>>
Mysql alter常见使用语句
查看>>