在Oracle db 11gR2版本中启用 Oracle NUMA 支持
参考原文:
Enable Oracle NUMA support with Oracle Server Version 11gR2 (文档 ID 864633.1)
适用于:
Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Oracle Database - Standard Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.
Oracle on NUMA capable hardware
***Checked for relevance on 11-Mar-2013***
细节:
Oracle NUMA(Non Uniform Memory Architecture)support can be used with large SMP multiprocessor environments with NUMA hardware。
启用Oracle NUMA support 会有效的使用底层的NUMA硬件,并且可能提升db 性能。
Oracle NUMA support 需要 硬件,os,和 oracle db version 的正确组合。
从oracle db 11.2.0.1开始,默认Oracle NUMA support是被禁用的。
本文描述了Oracle db 11gR2情况下,Oracle NUMA support 的启用方法
Oracle db 11.2之前版本 的环境中,使用NUMA的建议和对NUMA的支持,请见mos文章:Note:759565.1
请小心启用 NUMA支持。请联系你的硬件供应商以获取你的硬件和操作系统有关NUMA兼容性的信息。
推荐:
Customers who have tuned their Database specifically for NUMA can continue to run with NUMA enabled with Oracle Server Version 11.2.0.1.
It is strongly recommended to customers who want to enable NUMA do sufficient testing before going into production.
行动:
oracle db 11.2中启用NUMA的步骤:
在一个NUMA兼容的环境中使用 oracle db 11.2时,默认Oracle 将不会检测硬件和os 的NUMA兼容性,也不会启用Oracle NUMA support
设置如下的隐含参数以启用NUMA support
_enable_NUMA_support=TRUE
除此之外,不需要其他的步骤。
_enable_NUMA_support 这个参数取代了 _enable_NUMA_optimization 这个参数。若是使用 _enable_NUMA_optimization参数来代替_enable_NUMA_support参数,在alert log中会有报警:
..._enable_NUMA_optimization is deprecated please use _enable_NUMA_support instead....
一旦在参数文件中设置了_enable_NUMA_support参数,并且oracle db 11.2 运行在NUMA兼容的环境中,那么数据库实例的alert日志将会有 NUMA support 已经被启用的反馈,并能显示何种NUMA配置被检测到。
举例,在a 8 NUMA domains Linux system with 48 cores:
...NUMA system found and support enabled (8 domains - 6,6,6,6,6,6,6,6)...
警告:
禁用或者启用会改变应用程序的性能
在生产环境启用NUMA support之前,建议在测试环境中进行评估
当Oracle NUMA support被禁用时,操作系统和 硬件配置可能需要调整或者重新配置,请咨询你的硬件供应商以获取更多的信息
Oracle 11g 在RedHat Linux 5.8_x64平台的安装手册
Linux-6-64下安装Oracle 12C笔记
在CentOS 6.4下安装Oracle 11gR2(x64)
Oracle 11gR2 在VMWare虚拟机中安装步骤
Debian 下 安装 Oracle 11g XE R2
: