zoukankan      html  css  js  c++  java
  • Oracle-内存管理机制


    1. 由AMM调整为ASMM管理模式

    sqlplus -S "/ as sysdba" <<-EOF
    -- 备份参数
    create pfile='/tmp/pfile_bak.ora' from spfile;
    
    -- 配置sga和pga
    alter system set sga_target=160G scope=spfile sid='*';
    alter system set sga_max_size=240G scope=spfile sid='*';
    alter system set pga_aggregate_target=24G scope=spfile sid='*';
    -- alter system set shared_pool_size=40G scope=spfile sid='*';
    -- alter system set db_cache_size=100G scope=spfile sid='*';
    
    alter system set memory_target=0 scope=spfile sid='*';
    alter system set memory_max_target=0 scope=spfile sid='*';
    alter system reset memory_max_target scope=spfile sid='*';
    EOF
  • 相关阅读:
    C#基础
    自动化测试
    C# 数据结构题目
    .NET基础知识
    Sharepoint题目
    题目总结2
    数据库索引
    题目总结(2014-1-10)
    Stack详解
    SpringBoot入门基础知识点
  • 原文地址:https://www.cnblogs.com/binliubiao/p/12506064.html
Copyright © 2011-2022 走看看