分享到:
发表于 2009-01-09 09:23:07 楼主 | |
我一台as4的数据库服务器,4G内存,四核CPU两个做游戏服务器数据库。 mysql 内存参数配置,这样配,各位大大们看一下,哪些要改会好一点。 max_connections=5000 key_buffer = 512M max_allowed_packet = 32M table_cache = 512 sort_buffer_size = 512M net_buffer_length = 8K read_buffer_size = 256M read_rnd_buffer_size = 512M myisam_sort_buffer_size = 8M tmp_table_size = 256M thread_cache_size = 32 query_cache_size= 256M log-slow-queries =/tmp/slow_log expire_logs_day=20 |
|
楼主热贴 |
针对ZOL星空(中国)您有任何使用问题和建议 您可以 联系星空(中国)管理员 、 查看帮助 或 给我提意见