Build Db_link on the a library and update the B library. Reported ORA-2020 too many database links in use, is to set the Open_links and open_links_per_instance two parameters, their default value is 4.
Alter system set OPEN_LINKS=200 Scope=both;
Alter system set OPEN_LINKS_PER_INSTANCE=200 Scope=both;
The question is, whether to modify the parameters in a library or B library, is to modify the a library.
Modify this type of parameter database to restart.
error:ora-02020
Text:too Many database links in use
-------------------------------------------------------------------------------
Cause:the maximum number of active connections to remote databases per user
Login 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.
If This occurs often, consider increasing the value of the
Initialization parameter open_links, which controls the maximum number
of concurrent open connections to remote databases per user process.
OPEN_LINKS Specifies the maximum number of concurrent open connections to remote databases in one session.
open_links_per_instance Specifies the maximum number of migratable open connections globally for each database INSTANCE.
ORA-02020 too many database links in use