2010-11-23 56 views
0

我轉換了很多表從MyISAM的InnoDB的(你說服我),我想知道你們可能爲我的MySQL配置什麼建議?配置MySQL的InnoDB爲

我使用4x QUAD Core 3.0 GHz處理器運行16GB RAM。

# 
# * Fine Tuning 
# 
key_buffer    = 1024M 
max_allowed_packet  = 16M 
thread_stack   = 192K 
thread_cache_size  = 8 
# This replaces the startup script and checks MyISAM tables if needed 
# the first time they are touched 
myisam-recover   = BACKUP 
max_connections  = 1500 
table_cache   = 128 
thread_concurrency  = 4 
# 
# * Query Cache Configuration 
# 
query_cache_limit  = 2M 
query_cache_size  = 32M 
query_cache_type  = 1 
# 
# * Custom Configuration 
#  
tmp_table_size   = 512M 
max_heap_table_size  = 128M 
join_buffer_size  = 128M 
myisam_sort_buffer_size = 512M 

回答