New features introduced in 8.0 类似Oracle SPFILE

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了New features introduced in 8.0 类似Oracle SPFILE相关的知识,希望对你有一定的参考价值。

mysql> set persist innodb_buffer_pool_size=2048*1024*1024; Query OK, 0 rows affected (0.01 sec) 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.01 sec) 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 186 Dec 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]# 持久化参数直接写入到mysqld-auto.cnf文件中。具体内容看官方文档。

以上是关于New features introduced in 8.0 类似Oracle SPFILE的主要内容,如果未能解决你的问题,请参考以下文章

109 New Features In JDK 10

Introducing Custom API – The New Way of Creating Custom Actions in Dataverse

[Cycle.js] Introducing run() and driver functions

Introduce myself (stone)

jdk 7&8 new features

Chapter3 New Language Features