遇到这个报错,就使用asmm

一般先装库,再opatch到最新补丁,最后dbca建库,物理内存大于4G不能用AMM只能用ASMM

内存越大,全自动管理就越费劲,出错概率就越高,内存抖动

oracle的内存管理:

9i PGA自动管理SGA手动管理,10g PGA自动管理 SGA自动管理(ASMM 自动共享内存管理),11g PGA SGA统一自动管理(AMM,自动内存管理),12c 18c 19c和11g一样没有变化

11g concepts有如下描述

Memory management involves maintaining optimal sizes for the Oracle instance memory structures as demands on the database change. Oracle Database manages memory based on the settings of memory-related initialization parameters. The basic options for memory management are as follows:

  • Automatic memory management

    You specify the target size for instance memory. The database instance automatically tunes to the target memory size, redistributing memory as needed between the SGA and the instance PGA.

  • Automatic shared memory management

    This management mode is partially automated. You set a target size for the SGA and then have the option of setting an aggregate target size for the PGA or managing PGA work areas individually.

  • Manual memory management

    Instead of setting the total memory size, you set many initialization parameters to manage components of the SGA and instance PGA individually.

If you create a database with Database Configuration Assistant (DBCA) and choose the basic installation option, then automatic memory management is the default.

ASMM是10g引入的技术,实现SGA的自动管理,启用后不再需要为每个内存组件设定值,如果同时启用SGA_TARGET为0表示禁用ASMM,非0值表示启用ASMM,但是在10gR1等早期版本,ASMM不够成熟有较多bug

AMM自动化内存管理是11g引入的技术,实现了PGA和SGA的统一自动管理

由此在11g后,就组合出来5种内存管理形式

自动内存管理(AMM):memory_target=非0,是自动内存管理,如果初始化参数LOCK_SGA=TRUE,则AMM是不可用的

自动共享内存管理(ASMM):memory_target=0 且 sga_target=非0的情形下是自动内存管理

手工共享内存管理:memory_target=0 且 sga_target=0 指定share_pool_size、db_cache_size等sga参数

自动PGA管理:memory_target=0 且 workarea_size_policy=auto and PGA_AGGREGATE_TARGET=值

手工PGA管理:memory_target=0 且 workarea_size_policy=manal 然后指定SORT_AREA_SIZE等PGA参数,一般不使用手动管理PGA

最新文章

  1. 学习winform第三方界面weiFenLuo.winFormsUI.Docking.dll
  2. Linq Like
  3. 按照网上方法js删除指定cookie,却怎么也删除不了,解决如下
  4. JQuery知识点链接
  5. 利用javascript实现课程选择
  6. XML封装与验证消息
  7. 你真的会玩SQL吗?实用函数方汇总
  8. 【转载】va_list 可变参数 简介 va_copy vprintf
  9. table中td的宽度不随文字变宽
  10. JavaWeb从0开始学(一)-----搭建第一个Web应用程序与JSP工作原理
  11. Unreal Engine 4 Radiant UI 入门教程(零)在场景中摆放网页
  12. Spring @ResponseBody 返回中文乱码问题
  13. Kaggle新手入门之路
  14. Java Selenium 定位元素 实现的一个注册功能
  15. Abaqus用Dload子程序实现移动载荷
  16. zabbix学习笔记----概念----2019.03.25
  17. 牛客练习赛 26 C题 城市规划【贪心】
  18. Percona XtraDB Cluster集群
  19. 【LeetCode每天一题】Longest Common Prefix(最长前缀)
  20. Linux命令去重统计排序

热门文章

  1. (day47)作业
  2. django之视图层和部分模板层
  3. js toFixed() 四舍五入后并不是你期望的结果
  4. [LeetCode] 208. Implement Trie (Prefix Tree) 实现字典树(前缀树)
  5. [LeetCode] 16. 3Sum Closest 最近三数之和
  6. css设置不可复制
  7. 利用mysql的LOAD DATA INFILE的功能读取客户端文件
  8. useEffect传入第二个参数陷入死循环
  9. TF-IDF & CNN
  10. springmvc全局异常处理ControllerAdvice区分返回响应类型是页面还是JSON