MySQL性能优化参数详解
1.innodb_buffer_pool_size
作用:缓存innodb表的索引,数据,插入数据时的缓冲
MariaDB [(none)]> show global variables like "innodb_buffer_pool_size";
+-------------------------+-----------+
| Variable_name | Value |
+-------------------------+-----------+
| innodb_buffer_pool_size | 536870912 | #单位为B,512M
+-------------------------+-----------+
1 row in set (0.00 sec)