MySQL Variables large_page_size 数据库 参数变量解释及正确配置使用

本站中文解释

large_page_size:指定内存中每个大内存页的大小。如果操作系统支持大内存页,该变量就会被忽略掉。

设置方法:

1、在my.cnf的[mysqld]节下新增:

large_page_size=8M(大小可以为2M, 4M, 8M, 16M, …)

2、重启mysql服务器(命令如下:)

/etc/init.d/mysqld restart

官方英文解释

large_page_size

System Variable large_page_size
Scope Global
Dynamic No
Type Integer
Default Value 0
Minimum Value 0
Maximum Value 65535
Unit bytes

If large page support is enabled, this shows the size of
memory pages. Large memory pages are supported only on Linux;
on other platforms, the value of this variable is always 0.
See Section 8.12.4.2, “Enabling Large Page Support”.


数据运维技术 » MySQL Variables large_page_size 数据库 参数变量解释及正确配置使用