• [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
  • 相关阅读:
    如何使用分布式锁
    深入理解 ValueTask
    Tuple VS ValueTuple
    RxJS——调度器(Scheduler)
    RxJS——主题(Subject)
    RxJS——Operators
    RxJS——订阅(Subscription)
    RxJS——可观察的对象(Observable)
    Ext.Net 使用总结之GridPanel的删除事件
    使用 NuGet 管理项目库
  • 原文地址:https://www.cnblogs.com/arcer/p/3110730.html
Copyright © 2020-2023  润新知