笑话/修改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; 然后重启数据库2OL4wQSSpC8B9,PyjRV9l88再show parameter sga就OK了33fFOmpz4yyjA。0z5T9Xoo4bcJT ? 1 alter system set memory_target=2048m scope=spfile; 注意ajuZhJ89KKqXw:rVw6fL2zsga_max_size不能大于memory_targetgu00Zi4zZ,47h1EZ2v不然数据库启动失败