设为首页 加入收藏

TOP

ORA-12519,TNS:no appropriate service handler found的问题
2014-11-24 02:42:16 来源: 作者: 【 】 浏览:1
Tags:ORA-12519 TNS:no appropriate service handler found 问题
ORA-12519,TNS:no appropriate service handler found的问题
Java代码
ORA-12519, TNS:no appropriate service handler found
The Connection descriptor used by the client was:
110.16.1.17:1521:orcl www.2cto.com
解决方案:
Java代码
数据库上当前的连接数目已经超过了它能够处理的最大值。
select count(*) from v$process --当前的连接数
select value from v$parameter where name = 'processes' --数据库允许的最大连接数
修改最大连接数:
alter system set processes = 300 scope = spfile;
重启数据库:
shutdown immediate;
startup; www.2cto.com
--查看当前有哪些用户正在使用数据
SELECT osuser, a.username,cpu_time/executions/1000000||'s', sql_fulltext,machine
from v$session a, v$sqlarea b
where a.sql_address =b.address order by cpu_time/executions desc;
注意点:如果提示没有shutdown 权限 可以使用
conn /as sysdba dba
Java代码
SQL> conn/as sysdba;
已连接。
SQL> alter system set processes = 300 scope = spfile;
系统已更改。
SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup;
ORACLE 例程已经启动。
www.2cto.com
Total System Global Area 599785472 bytes
Fixed Size 1288820 bytes
Variable Size 176162188 bytes
Database Buffers 419430400 bytes
Redo Buffers 2904064 bytes
数据库装载完毕。
数据库已经打开。
作者 smartan
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇RHEL 5安装Oracle 11g 下一篇ORA-01103错误解析

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: