mysql小内存优化

[mysqld]

key_buffer_size = 16K
max_allowed_packet = 1M
table_open_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 128K

ignore_builtin_innodb
default-storage-engine = MyISAM

你可能感兴趣的:(mysql)