mysql myisam 优化设置设置
程序员文章站
2023-12-04 11:12:04
myisam_max_[extra]_sort_file_size足够大 delay_key_write减少io,提高写入性能 bulk_insert_buffer_siz...
myisam_max_[extra]_sort_file_size足够大
delay_key_write减少io,提高写入性能
bulk_insert_buffer_size
concurrent_insert 设置为2
read_rnd_buffer_size random scan 使用
read_buffer_size 顺序扫描表使用
key cache 的三种方式
key cache 预加载
set global hot_cache.key_buffer_size=16m
set blobal cold_cache.key_buffer_size=16m
cache index example.top_message in hot_cache
cache index example.event in cold_cache
load index into cache example.top_message,example.event ignore leaves
load index into cache example.user ignore leavers,expamle.groups
mysql 优化设置步骤
delay_key_write减少io,提高写入性能
bulk_insert_buffer_size
concurrent_insert 设置为2
read_rnd_buffer_size random scan 使用
read_buffer_size 顺序扫描表使用
key cache 的三种方式
key cache 预加载
set global hot_cache.key_buffer_size=16m
set blobal cold_cache.key_buffer_size=16m
cache index example.top_message in hot_cache
cache index example.event in cold_cache
load index into cache example.top_message,example.event ignore leaves
load index into cache example.user ignore leavers,expamle.groups
mysql 优化设置步骤
上一篇: 爱奇艺pps影音下载视频图文教程