|
本帖最后由 hitomixiaoxia 于 2012-3-12 10:56 编辑
环境windows 2003 32位,mysql 5.1.46,apache 2.04 内存20G
现在数据库的引擎是MyISAM的,如果修改为INNODB,那么以下参数是否可行,请各位大神指点!
default-storage-engine=INNODB
max_connections=1000
query_cache_size=256M
table_cache=10240
tmp_table_size=1024M
thread_cache_size=120
innodb_additional_mem_pool_size=4M
innodb_flush_log_at_trx_commit=2
innodb_log_buffer_size=3M
innodb_buffer_pool_size=8192M (8G) windows 2003 32位,这个值最大能设置多少?
innodb_log_file_size=309M
innodb_thread_concurrency=16
wait_timeout=10
interactive_timeout=10
max_allowed_packet=20M
join_buffer_size=64M
max_heap_table_size = 1024M
是否要添加以下几项???
innodb_flush_method= O_DIRECT
innodb_log_files_in_group= 3
innodb_log_buffer_size=3M
|
|