ORA-12519, TNS:no appropriate service handler found

來源:互聯網
上載者:User

ORA-12519, TNS:no appropriate service handler found

有時候連得上Oracle資料庫,有時候又連不上.

可能是Oracle資料庫上當前的串連數目已經超過了它能夠處理的最大值.

首先得使用DBA角色登入

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;

相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.