New features introduced in 8.0 类似Oracle SPFILE
2019-12-24 09:01
1356 查看
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文件中。具体内容看官方文档。
相关文章推荐
- Oracle Database 11g Release 2 New Features in Oracle Data Guard
- The article discusses a couple of new features introduced for assemblies and versioning in Visual Studio 2005.
- [转] Lateral SQL Injection:A New Class of Vulnerability in Oracle
- New C# Features in the .NET Framework 4
- ORACLE 11GR2 RAC new features 新特性。
- If Value Exists Then Query Else Allow Create New in Oracle Forms An Example
- New Features in ASP.NET MVC 3/4
- 9 new features in Java 9
- New DataSet Features in Visual Studio 2005 (C# version)
- Explain the security features in Oracle.
- New Features and Enhancements in C++Builder XE5
- 55 New Features in JDK 7 - NIO2
- New features in XenServer 7.2
- New replication features in SQL Server 2008 and what they mean to you
- The new features in Windows Server 2012 Hyper-V
- Ocp: Oracle 10g New Features For Administrators : Study Guide
- New Features in Xcode 4.3
- What's New in Oracle WebLogic Server 12c Release 1 (12.1.1)
- OBIEE 12c - New Features in OBIEE 12.2.1.0.0
- New Features in Spring 3.0