zoukankan      html  css  js  c++  java
  • Oracle系统结构之修改oracle内存参数

    Linux主机16g内存,修改oracle数据库内存参数:

    1、编辑/etc/fstab文件:针对tmpfs行将defaults改成defaults,size=12g(千万注意格式,不能出现错误)

    wpsCC1D.tmp

    wpsCC2E.tmp

    修改贡献内存参数后,reboot重启服务器。

    2、sqlplus登录oracle数据库,备份参数文件:

    wpsCC2F.tmp

    以下语句备份参数文件(必须):

    SQL>create pfile='/u01/app/oracle/pfile20161625.ora' from spfile;

    3、Show parameter memory查看oracle参数设置

    wpsCC30.tmp

    如果value都是0,如上图所示,则正确,否则运行下面语句:

    SQL>alter system reset memory_max_target scope=spfile;

    SQL>alter system reset memory_target scope=spfile;

    4、SQL窗口修改以下参数:

    SQL>alter system set sga_max_size=7168m scope=spfile;

    SQL>alter system set sga_target=6144m scope=spfile;

    SQL>alter system set pga_aggregate_target=4096m scope=spfile;

    5、Startup force重启数据库服务器,生效参数

    wpsCC31.tmp

  • 相关阅读:
    Easy Install详细参数
    linux.backspace乱码(转)
    RemoteFX
    netsh
    sc.exe
    WinRM和WinRS
    安全配置向导
    使用 Sconfig.cmd 配置服务器核心服务器
    FSMO
    Windows Server 2012之活动目录域服务的卸载
  • 原文地址:https://www.cnblogs.com/wcwen1990/p/6656553.html
Copyright © 2011-2022 走看看