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
  • 相关阅读:
    字幕文件srt处理之pysrt
    python 多进程代码问题以及用 pyinstaller 打包成exe 问题解决
    ffmpeg的安装以及使用
    人声识别之webrtcvad
    python3安装dlib库和face_recognition库
    python实现 请按任意键继续。。。
    python 模块tkinter之filedalog
    古诗文网验证码识别
    xpath案例-全国城市名爬取
    xpath案例-4K图片爬取
  • 原文地址:https://www.cnblogs.com/arcer/p/3110730.html
Copyright © 2011-2022 走看看