[转]ORA-12516, TNS:listener could not find available handler with matching protocol stack
2018-02-23 14:12
567 查看
转至:http://blog.csdn.net/MichaelSrc/article/details/6760247
1.查看当前连接进程数
SQL>select count(*) from v$process;
2.查看连接数上限
SQL>select value from v$parameter where name = 'processes';
3.查看当前数据库的processes设置
SQL> show parameter processes
SQL> show parameter sessions
4.只要会话连接数超过上面的process数150或者sessions数170,再来一个的会话进程,就会产生12516错误。因此可以修改一下该值:
sessions=1.1*processes+5;//这个是sessions值和processes值的关系,最好按照这样做,
因此如果要将processes数设置为500,则sessions数必须为1.1*500+5=555
SQL> alter system set processes=500 scope=spfile;
系统已更改。
SQL> alter system set sessions=555 scope=spfile;
系统已更改。
5.重新启动数据库服务即可。
SQL>shutdown immediate
SQL>startup
1.查看当前连接进程数
SQL>select count(*) from v$process;
2.查看连接数上限
SQL>select value from v$parameter where name = 'processes';
3.查看当前数据库的processes设置
SQL> show parameter processes
SQL> show parameter sessions
4.只要会话连接数超过上面的process数150或者sessions数170,再来一个的会话进程,就会产生12516错误。因此可以修改一下该值:
sessions=1.1*processes+5;//这个是sessions值和processes值的关系,最好按照这样做,
因此如果要将processes数设置为500,则sessions数必须为1.1*500+5=555
SQL> alter system set processes=500 scope=spfile;
系统已更改。
SQL> alter system set sessions=555 scope=spfile;
系统已更改。
5.重新启动数据库服务即可。
SQL>shutdown immediate
SQL>startup
相关文章推荐
- ORA-12516, TNS: listener could not find available handler with matching protocol stack'
- RAC 中 ORA-12516: TNS: listener could not find available handler with matching protocol stack
- ORA-12516: TNS:listener could not find available handler with matching protocol stack
- ORA-12516: TNS:LISTENER COULD NOT FIND AVAILABLE HANDLER WITH MATCHING PROTOCOL STACK
- ORA-12516:TNS:listener could not find available handler with matching protocol stack
- ORA-12516, TNS:listener could not find available handler with matching protocol stack
- ora-12516 tns listener could not find available handler with matching protocol
- Oracle报错ORA-12516 TNS:listener could not find available handler with matching protocol stack
- ora-12516 tns listener could not find available handler with matching protocol
- TNS:listener could not find available handler with matching protocol stack 解决办法
- TNS:listener could not find available handler with matching protocol stack
- 关于 [TNS-12516 TNS:listener could not find instance with matching protocol stack ]
- ORA-12520: TNS:listener could not find available handler for requested type of server
- ORA-12520: TNS:listener could not find available handler
- ORA-12520: TNS:listener could not find available handler for requested type of server
- ORACLE ORA-12520 : TNS:listener could not find available handler for requested type of server
- TNS-12520 TNS:listener could not find available handler for requested type of server
- ORA-12520 TNS:Listener count not find available handler for requested type of server错误解决办法
- ORA-12520 TNS:Listener count not find available handler for requested type of server错误解决办法
- listener could not find available handler for requested type of server