ITPub博客

首页 > 数据库 > Oracle > ORA-02020: too many database links in use

ORA-02020: too many database links in use

原创 Oracle 作者:goolen 时间:2014-05-07 14:49:59 0 删除 编辑

查询一个sql报错如下:

ERROR at line 113:
ORA-02020: too many database links in use

Cause:The maximum number of active connections to remote databases per user logon has been reached. 

Action:If the user has no open cursors, the current SQL statement accesses more than the maximum allowed remote databases. Otherwise, the user may free remote database connections by closing all cursors that access the databases


解决办法:

SQL> alter system set open_links=15 scope=spfile;
System altered.

SQL> shut immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup


SQL> show parameter open_links
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
open_links                           integer     15

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23249684/viewspace-1155915/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-10-20

  • 博文量
    121
  • 访问量
    731656