zoukankan      html  css  js  c++  java
  • 修改oracle内存占用

    修改oracle内存占用
     
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    # su oracle
     
       $cd $ORACLE_HOME
     
       $./sqlplus /nolog
     
       >connect / as sysdba;
     
       >show parameter sga; (查看内存占用情况)
     
         NAME                                   TYPE          VALUE
      ------------------------------------ ----------- -------------
      lock_sga                       boolean       FALSE
      pre_page_sga                   boolean       FALSE
     
      sga_max_size                   big integer 800M
      sga_max_size                   big integer 800M
     
     >alter system set sga_max_size=2048m scope=spfile;
     >alter system set sga_target=1024m scope=spfile;
     
      然后重启数据库,再show parameter sga就OK了。
     
    1
    alter system set memory_target=2048m scope=spfile;
     
    注意:sga_max_size不能大于memory_target,不然数据库启动失败。
  • 相关阅读:
    vue04-动画、组件
    vue02—— 动画、组件、组件之间的数据通信
    webpack使用
    Promise
    css 尾巴
    js尾巴
    Python字符串格式转换
    CentOS 6.5下Redmine的安装配置
    gem Errno::ECONNRESET: Connection reset by peer
    MySQL几个重要的目录
  • 原文地址:https://www.cnblogs.com/zhuor/p/3867451.html
Copyright © 2011-2022 走看看