报错如题:ORA-12519: TNS:no appropriate service handler found,应该是项目中的有些算法把全部链接都占用了,没办法只能增大数据的链接,具体作法以下:算法
select count(*) from v$process --当前的链接数 sql
select value from v$parameter where name = 'processes' --数据库容许的最大链接数 数据库
修改最大链接数: session
alter system set processes = 300 scope = spfile; app
重启数据库: 大数据
shutdown immediate; io
startup; class
--查看当前有哪些用户正在使用数据 file
SELECT osuser, a.username,cpu_time/executions/1000000||'s', sql_fulltext,machine select
from v$session a, v$sqlarea b
where a.sql_address =b.address order by cpu_time/executions desc;