连接数
oracle报如下错误
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
以DBA身份登录数据库,select count(*) from v$session;
a、以sysdba身份登陆PL/SQL 或者 Worksheet
b、查询目前连接数
show parameter processes;
c、更改系统连接数
alter system set processes=1000 scope=spfile;
d、创建pfile
create pfile from spfile;
e、重启Oracle服务或重启Oracle服务器
shutdown immediate;
startup;
================================================================
(1)查看用户的连接状况
select username,sid,serial# from v$session
如下结果:
username sid serial#

本文介绍了当Oracle数据库出现'Listener refused the connection with the ORA-12519错误时,如何检查并解决连接数过多的问题。内容包括以DBA身份登录检查当前连接数,调整系统连接数限制,创建pfile以及重启Oracle服务的步骤。
最低0.47元/天 解锁文章
2207

被折叠的 条评论
为什么被折叠?



