Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

New features introduced in 8.0

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Mysql > set persist innodb_buffer_pool_size=2048*1024*1024;Query OK, 0 rows affected (0.01sec) mysql > show variables like 'innodb_buffer_pool_size' +-+ | Variable_name | Value | +-+-+ | innodb_buffer_pool_size | 2147483648 | +- -+-+ 1 row in set (0.00 sec) mysql > set persist innodb_buffer_pool_size=4096*1024*1024 Query OK, 0 rows affected (0.01sec) mysql > show variables like 'innodb_buffer_pool_size' +-+ | Variable_name | Value | +-+-+ | innodb_buffer_pool_size | 4294967296 | +- -+-+ 1 row in set (0.00 sec) mysql > [root@roidb3 data] # pwd/zxdata/my3311/data [root@roidb3 data] # ls-l mysqld-auto.cnf-rw-r-. 1 mysql mysql 186Dec 24 08:59 mysqld-auto.cnf [root@roidb3 data] # more mysqld-auto.cnf {"Version": 1, "mysql_server": {"innodb_buffer_pool_size": {"Value": "4294967296", "Metadata": {"Timestamp": 1577149148131600, "User": "root" "Host": "localhost"} [root@roidb3 data] # persistence parameters are written directly to the mysqld-auto.cnf file. See the official document for details.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report