[Oracle] ORA-02020 過多的資料庫連結在使用中
oracle6中已經使用了4個db link
使用到第五個的時候就報了ORA-02020 過多的資料庫連線在使用中
檢視系統引數
SQL> show parameter open_link
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
open_links integer 4
open_links_per_instance integer 4
修改系統引數open_links,open_links_per_instance為100
SQL> alter system set open_links=100;
alter system set open_links=100
*
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
不能線上修改,需要加上scope=spfile引數,且需要重啟DB生效
SQL> alter system set open_links=100 scope=spfile;
System altered.
SQL> alter system set open_links_per_instance=100;
alter system set open_links_per_instance=100
*
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
不能線上修改,需要加上scope=spfile引數,且需要重啟DB生效
SQL> alter system set open_links_per_instance=100 scope=spfile;
System altered.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1603411968 bytes
Fixed Size 2213776 bytes
Variable Size 1275070576 bytes
Database Buffers 318767104 bytes
Redo Buffers 7360512 bytes
Database mounted.
Database opened.
SQL> show parameter open_links
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
open_links integer 100
open_links_per_instance integer 100
之後可以正常使用.
使用到第五個的時候就報了ORA-02020 過多的資料庫連線在使用中
檢視系統引數
SQL> show parameter open_link
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
open_links integer 4
open_links_per_instance integer 4
修改系統引數open_links,open_links_per_instance為100
SQL> alter system set open_links=100;
alter system set open_links=100
*
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
不能線上修改,需要加上scope=spfile引數,且需要重啟DB生效
SQL> alter system set open_links=100 scope=spfile;
System altered.
SQL> alter system set open_links_per_instance=100;
alter system set open_links_per_instance=100
*
ERROR at line 1:
ORA-02095: specified initialization parameter cannot be modified
不能線上修改,需要加上scope=spfile引數,且需要重啟DB生效
SQL> alter system set open_links_per_instance=100 scope=spfile;
System altered.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1603411968 bytes
Fixed Size 2213776 bytes
Variable Size 1275070576 bytes
Database Buffers 318767104 bytes
Redo Buffers 7360512 bytes
Database mounted.
Database opened.
SQL> show parameter open_links
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
open_links integer 100
open_links_per_instance integer 100
之後可以正常使用.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-2056727/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle ORA-02020 : 過多的資料庫連結在使用中Oracle資料庫
- Oracle ORA-02020 : 過多的資料庫連結在使用中 解決步驟Oracle資料庫
- 關於ORA-02020: 過多的資料庫連結在使用中 錯誤的進階研究資料庫
- 在SQL Server下資料庫連結的使用SQLServer資料庫
- Oracle DBLink連線數過多的問題(Ora-02020)Oracle
- 在Linux中通過本地複製的方式建立多一個Oracle資料庫LinuxOracle資料庫
- java通過jdbc連結資料庫JavaJDBC資料庫
- Laravel 使用多個資料庫連線Laravel資料庫
- 在IBM WASCE中使用Oracle資料庫連線池IBMOracle資料庫
- Oracle資料庫中的表連線方式及使用場合Oracle資料庫
- 部落格連結—Oracle資料庫類Oracle資料庫
- Oracle資料庫連結(DBLink)中如何訪問包含BLOB欄位的資料Oracle資料庫
- 多執行緒程式中對資料庫連線使用的疑問執行緒資料庫
- [資料結構]連結串列的實現在PHP中資料結構PHP
- [資料結構] 連結串列的實現在 PHP 中資料結構PHP
- EntityFramework 多資料庫連結,MySql,SqlServer,Oracel等Framework資料庫MySqlServer
- Oracle資料庫中convert()函式,在瀚高資料庫中如何替換使用?Oracle資料庫函式
- 通過命令在navicat中建立資料庫及表結構資料庫
- python環境連結Oracle資料庫PythonOracle資料庫
- 使用instantclient連線oracle資料庫clientOracle資料庫
- 使用Navicat Premium 連結本地資料庫的方法REM資料庫
- Oracle資料庫中的多種SCN彙總Oracle資料庫
- 在scrapy的pipelines中連線資料庫資料庫
- 在 Linux中如何使用動態連結模組庫?Linux
- VB使用ADO物件連結資料庫物件資料庫
- Oracle——04同義詞與資料庫連結Oracle資料庫
- 在Oracle中實現資料庫的複製Oracle資料庫
- 使用Navicat Premium 連結本地資料庫的方法(二)REM資料庫
- Slice在使用過程中需要懂的一些資料結構資料結構
- 使用oracle Transparent gateway 連線 sybase 資料庫OracleGateway資料庫
- 使用ssh tunnels加密連線oracle資料庫加密Oracle資料庫
- php連線多資料庫PHP資料庫
- Qt中通過ODBC連線MSSQL資料庫QTSQL資料庫
- php連結資料庫PHP資料庫
- Sql連結資料庫的用法SQL資料庫
- windows中socket 連結繫結數過多問題Windows
- Oracle資料庫中資料行遷移與行連結Oracle資料庫
- 如何不使用DBCA在Oracle 11中刪除資料庫Oracle資料庫