zoukankan      html  css  js  c++  java
  • [bbk5189]第71集 第8章 性能维护 02

    Managing Memory Commpents

    Automatic Memory Management(AMM)

    -Enable you to specifiy total memory allocated to instance (including both SGA and PGA)

    指定MEMORY TARGET参数后,Oracle会自动分配内存.实现此特性的前提就是Oracle所在的操作系统支持自动释放内存.

    ASSM(自动共享内存管理,共享内存实际上就是SGA)

    如何启动自动内存管理?

    1、通过OEM,设置Enable属性

    2、手工方式修改MEMORY_TARGET参数

    SQL> show parameter memory_target;
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    memory_target                        big integer 3120M

    如何实现自动共享内存管理?

    1、通过OEM,设置其Enable属性

    2、手工命令行方式,修改SGA_TARGET属性

    SQL> show parameter sga_target;
    
    NAME                                 TYPE        VALUE
    ------------------------------------ ----------- ------------------------------
    sga_target                           big integer 0

    Managing Memory Conponents

    • Automatic Memory Management(AMM)
      • -Enable you to specify total memory allocated to instance (Including both SGA and PGA)
    • Automatic Shared Memory Management(ASMM)
      • -Enables you to specify total SGA memory through one initialization parameter
      • -Enables the oracle server to manage the amount of memory allocated to the shared pool,java pool,buffer cache,steams pool,and large pool
    • Manually setting shared memory management
      • Sizes the components through multiple individual initialization parameters
      • -Uses the appropriate Memory Advisor to make recommendations
  • 相关阅读:
    连通分量板子
    2017年7月17日
    强连通缩点— HDU1827
    马拉车代码
    表达式求值
    Gym-100883F、Gym-101095B状态压缩小结
    矩阵快速幂小结-Hdu2604
    3月27日
    简单移动端自适应轮播图
    上了热搜榜前端工程师面试内幕
  • 原文地址:https://www.cnblogs.com/arcer/p/3110730.html
Copyright © 2011-2022 走看看