您的位置:首页 > 数据库 > MySQL

Mysql performance

2016-07-14 16:00 791 查看
1. max_connections open_files_limit table_open_cache 如何配置

table_open_cache = max_connections * N (N is the maximun number of tables open in each connection)

open_files_limit = 2*table_open_cache (open one table needs at least one file handler and another one for index, index file handler can share for the same table)

2. wait_timeout interactive_timeout 如何配置?

3. view algorithm: merge temptable undefined

build view from another view will have bad performance

4.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: