2010-11-23 6 views
0

Je convertir un grand nombre de tables de MyISAM à InnoDB (vous me avez convaincu) et je me demande quelles recommandations à ma configuration MySQL vous avez peut-être ...Configuration de MySQL pour InnoDB

I M en cours d'exécution de 16 Go de RAM avec 4x processeur QUAD Core 3.0 GHz.

# 
# * 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 

Répondre