日期:2014-05-17  浏览次数:21086 次

oracle连接数设置过大,导致oracle启动不了
为了更改oracle的连接数:
alter system set processes=20000 scope=spfile;

启动oracle时:
SQL> startup
ORA-27154: post/wait create failed
ORA-27300: OS system dependent operation:semids_per_proc failed with status: 0
ORA-27301: OS failure message: Error 0
ORA-27302: failure occurred at: sskgpwcr2
ORA-27303: additional information: semids = 132, maxprocs = 20000

想问下,应该怎么把oracle的连接数改回来?

------解决方案--------------------
以下步骤即可。
1) sqlplus / as sysdba
2) create pfile='d:\pfile.ora' from spfile;
3) 修改d:\pfile.ora中的*.processes参数,比如改成*.processes=200
4)create spfile from pfile='d:\pfile.ora';
5)startup
------解决方案--------------------
探讨
以下步骤即可。
1) sqlplus / as sysdba
2) create pfile='d:\pfile.ora' from spfile;
3) 修改d:\pfile.ora中的*.processes参数,比如改成*.processes=200
4)create spfile from pfile='d:\pfile.ora';
5)startup