博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
文档 ID 749851.1
阅读量:6225 次
发布时间:2019-06-21

本文共 2436 字,大约阅读时间需要 8 分钟。

hot3.png

HugePages and Oracle Database 11g Automatic Memory Management (AMM) on Linux (文档 ID 749851.1)

In this Document

 
 
 
 

 

APPLIES TO:

Oracle Database - Enterprise Edition - Version 11.1.0.6 and later
Linux OS - Version 2.6 and later
Linux x86
Linux x86-64
IBM: Linux on System z
IBM: Linux on POWER Systems
IBM S/390 Based Linux (31-bit)
Linux Itanium

PURPOSE

This document discusses the interoperability of the Automatic Memory Management (AMM) feature introduced by Oracle Database 11g and the HugePages (HugeTLB) feature of the Linux OS kernel.

SCOPE

This document is to be used by Linux system administrators and Oracle database administrators that work with Oracle Database Server 11g on Linux Operating System.

DETAILS

The 11g AMM feature is enabled by the MEMORY_TARGET / MEMORY_MAX_TARGET instance initialization parameters . That is also the case with a default database instance created using Database Configuration Assistant (DBCA).

With AMM all SGA memory is allocated by creating files under /dev/shm. When Oracle DB does SGA allocations that way HugePages are not reserved/used.

The use of AMM is absolutely incompatible with HugePages. (Please see references at the end of the document for further information on HugePages)

On systems with HugePages in use, attempting to set the MEMORY_TARGET / MEMORY_MAX_TARGET instance initialization parameters may result in the following error message:

ORA-00845: MEMORY_TARGET not supported on this system

AMM should not be confused with Automatic Shared Memory Management  (ASMM) where ASMM has no problem with HugePages (See also )

Please also note that ramfs (instead of tmpfs mount over /dev/shm) is not supported for AMM at all. With AMM the Oracle database needs to grow and reduce the size of SGA dynamically. This is not possible with ramfs where it possible and supported with tmpfs (which is the default for the OS installation).

Note that, AMM is setup for ASM instances by default. On the other hand, since the ASM instances do not have a large SGA, using HugePages for ASM instances is not crucial.

If you want to use HugePages make sure that both MEMORY_TARGET / MEMORY_MAX_TARGET initialization parameters are unset (i.e. using "ALTER SYSTEM RESET") for the database instance.(See also Oracle Database Administrator's Guide 11g)

 - HugePages on Linux: What It Is... and What It Is Not...
 - ORA-00845 Raised When Starting Instance

转载于:https://my.oschina.net/1272149624/blog/732438

你可能感兴趣的文章
Redis启动Sentinel出现警告的解决
查看>>
Python2和Python3比较分析
查看>>
JS中的内部类
查看>>
MySQL 5.6 for Windows 解压缩版配置安装
查看>>
每天一个linux命令(11):nl命令
查看>>
函数与方程的习题【中阶和高阶辅导】
查看>>
HDU 2795 Billboard
查看>>
poj 2996 Help Me with the Game
查看>>
一种很棒的二叉树非递归后序遍历方法
查看>>
MyBatis知多少(18)MyBatis系统
查看>>
使用RazorGenerator和预编译MVC引擎将Razor视图编译成DLL
查看>>
poj1607
查看>>
MapReduce的输入格式
查看>>
angular state中templateUrl 路径的模板
查看>>
DAX/PowerBI系列 - 关于时间系列 - 如何用脚本生成时间维度 (Generate Date Dimension)
查看>>
记一个 dubbo中hessian2反序列化 Map 的一个问题
查看>>
POJ3461:Oulipo——题解
查看>>
小闪对话:微信长连系统的设计(一)
查看>>
Android Paint和Color类
查看>>
java.lang.NoClassDefFoundError: org/springframework/dao/support/DaoSupport
查看>>