【发布时间】:2012-04-14 20:15:30
【问题描述】:
我有一个具有以下选项的 Windows 服务器:
5 GB 内存 至强 31220 3.10GHz
Windows 服务器 2003
我试图在我的服务器上配置 mysql,我这样做如下: 我的.ini:
[MySQLD]
port=3306
basedir=C:\\Program Files\\Parallels\\Plesk\\Databases\\MySQL
datadir=C:\\Program Files\\Parallels\\Plesk\\Databases\\MySQL\\Data
default-character-set=latin1
default-storage-engine=INNODB
read_buffer_size=10M
read_rnd_buffer_size=256K
sort_buffer_size=256K
innodb_additional_mem_pool_size=2M
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=1M
innodb_buffer_pool_size=1G
innodb_log_file_size=10M
innodb_thread_concurrency=8
max_connections=100
old_passwords=1
max_user_connections=500
thread_cache_size=4
thread_stack=196608
binlog_cache_size=32768
net_read_timeout=30
net_retry_count=10
net_write_timeout=30
thread_concurrency=10
open_files_limit=0
[client]
port=3306
我的问题是这个配置方法 my.ini 是否适合我的服务器,或者我可以通过差异值优化它,因为我的服务器工作如此缓慢,谢谢
【问题讨论】:
-
我的问题是这个配置方法 my.ini 是否适合我的服务器,或者我可以通过差异值优化它,因为我的服务器工作如此缓慢,谢谢
标签: mysql windows windows-server-2003