Oracle ORA-02020: excessive database connections in use solution steps

Source: Internet
Author: User

Oracle ORA-02020: excessive database connections in use solution steps

Note:

Not long ago, developers reported ORA-02020 error during storage compilation. The following is the solution step.

Error message:

Error: or a-04052: An Error occurred while searching for the remote object NIP. PB_PERADDRESSLIST @ DB_NIP.

ORA-00604: recursive SQL Level 1 error

ORA-02020: Too Many database connections in use

Check link parameters.

SQL> show parameter open_links

 

NAME TYPE VALUE

-----------------------------------------------------------------------------

Open_links integer 4

Open_links_per_instance integer 4

 

SQL>

Parameter explanation:

* ** Open_links: Maximum number of dblinks allowed by each session;

* ** Open_links_per_instance: Maximum number of dblinks allowed by each instance


Increase the number of dblinks allowed;

SQL> alter system set open_links = 50 scope = spfile;

 

System altered

SQL> alter system set open_links_per_instance = 50 scope = spfile;

 

System altered

 

SQL> show parameter open_links

 

NAME TYPE VALUE

-----------------------------------------------------------------------------

Open_links integer 4

Open_links_per_instance integer 4

SQL>

It takes effect after restart...

SQL> shutdown immediate
The database has been closed.
The database has been detached.
The Oracle routine has been disabled.
SQL>

SQL> startup
The ORACLE routine has been started.

Total System Global Area 293601280 bytes
Fixed Size 1248600 bytes
Variable Size 96469672 bytes
Database Buffers 188743680 bytes
Redo Buffers 7139328 bytes
The database has been loaded.
The database has been opened.
SQL>

Parameter check:

SQL> show parameter open_links

NAME TYPE VALUE

-----------------------------------------------------------------------------

Open_links integer 50

Open_links_per_instance integer 50

SQL>

Compile again and then OK.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.