摘要:
innodb_buffer_pool_size 缓冲区的大小,一般为内存的70%-80%之间, 用来缓存表及索引数据,锁等级数据的最主要缓存空间。通过查看 show status like 'innodb_buffer_pool_%';innodb_log_file_size 日志文件大小,越大越好... 阅读全文
摘要:
最大连接数show variables max_connections;select VARIABLE_VALUE from information_schema.GLOBAL_VARIABLES where VARIABLE_NAME='MAX_CONNECTIONS';set global ma... 阅读全文