Oracle修改記憶體大小
修改伺服器核心引數,修改如下:
執行如下命令生效:##配置核心引數 vi /etc/sysctl.conf fs.file-max = 6815744 kernel.sem = 250 32000 100 128 kernel.shmall = 1073741824 kernel.shmmax = 4398046511104 kernel.panic)on_oops = 1 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.conf.all.rp_filter = 2 net.ipv4.conf.default.rp_filter = 2 fs.aio-max-nr = 1048576 net.ipv4.ip_local_port_range = 9000 65500
/sbin/sysctl -p
操作結束後,進行記憶體大小調整
SQL> show parameter sga;
SQL> alter system set sga_max_size = 50G scope=spfile;
SQL> alter system set sga_target = 50G scope=spfile;
SQL> shutdown immediate
SQL> startup mount
SQL> show parameter sga;