当前位置:首页 > 网络编程 > 数据库 > Mysql > MySQL性能调整之my.cnf文件的配置方法

MySQL性能调整之my.cnf文件的配置方法

点击次数:156 次 发布日期:2008-09-19 13:01:13 作者:源代码网
源代码网推荐

源代码网整理以下MySQL性能调整之my.cnf文件的配置方法:

源代码网整理以下[mysqld]

源代码网整理以下

源代码网整理以下datadir=/var/lib/mysql

源代码网整理以下socket=/var/lib/mysql/mysql.sock

源代码网整理以下skip-locking

源代码网整理以下set-variable = key_buffer=16M

源代码网整理以下set-variable = max_allowed_packet=1M

源代码网整理以下set-variable = thread_stack=64K

源代码网整理以下set-variable = record_buffer=1M

源代码网整理以下set-variable = table_cache=1024

源代码网整理以下set-variable = sort_buffer=4M

源代码网整理以下set-variable = net_buffer_length=8K

源代码网整理以下set-variable = max_connect_errors=100

源代码网整理以下set-variable = max_connections=1024

源代码网整理以下server-id = 1

[mysqldump]

源代码网整理以下

源代码网整理以下quick

源代码网整理以下set-variable = max_allowed_packet=16M


[mysql]

源代码网整理以下

源代码网整理以下no-auto-rehash

源代码网整理以下# Remove the next comment character if you are not familiar with SQL

源代码网整理以下#safe-updates


[isamchk]

源代码网整理以下

源代码网整理以下set-variable = key_buffer=20M

源代码网整理以下set-variable = sort_buffer=20M


[myisamchk]

源代码网整理以下

源代码网整理以下set-variable = key_buffer=20M

源代码网整理以下set-variable = sort_buffer=20M


[mysqlhotcopy]

源代码网整理以下

源代码网整理以下interactive-timeout


[mysql.server]

源代码网整理以下

源代码网整理以下user=mysql

源代码网整理以下basedir=/var/lib


[safe_mysqld]

源代码网整理以下

源代码网整理以下err-log=/var/log/mysqld.log

源代码网整理以下pid-file=/var/run/mysqld/mysqld.pid

源代码网供稿.
网友评论 (0)
会员中心
网络编程
本站推荐
网络编程之精华