ORA-12519: TNS:no appropriate service handler found 解決

select count(*) from v$process --當前的連接數

select value from v$parameter where name = 'processes' --數據庫允許的最大連接數

 

修改最大連接數:

alter system set processes = 300 scope = spfile;

 

重啓數據庫:

shutdown immediate;

startup;

 

--查看當前有哪些用戶正在使用數據

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;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章