更改oracle 預設db_files 200(ORA-00059: maximum number of DB_FILES
ORA-00059: maximum number of DB_FILES exceeded
後查到:
db_files 值設的是 integer 200
RMAN> BACKUP CURRENT CONTROLFILE FORMAT '/home/bak/20150612/cntrl_%s_%p_%t';
RMAN> BACKUP Spfile FORMAT '/home/bak/20150612/spfile_%s_%p_%t';
cat /home/db/oracle10g/product/10.2.0/db_1/network/admin/listener.ora
由於要重啟庫生效,故先停監聽:
lsnrctl stop LISTENER1
netstat -an|grep 11521
SQL> show parameter db_files;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_files integer 200
SQL> alter system set db_files=1024 scope=spfile;
System altered.
SQL> show parameter db_files;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_files integer 200
SQL>
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 6815744000 bytes
Fixed Size 2133456 bytes
Variable Size 3812622896 bytes
Database Buffers 2990538752 bytes
Redo Buffers 10448896 bytes
Database mounted.
Database opened.
SQL>
SQL> show parameter db_files;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_files integer 1024
lsnrctl start LISTENER1起監聽 恢復
===========
花絮期間在停庫時,觀察alert日誌:
Stopping background process MMNL
Fri Jun 12 19:15:12 2015
Stopping background process MMON
Fri Jun 12 19:15:13 2015
Shutting down instance (immediate)
License high water mark = 141
Fri Jun 12 19:15:13 2015
Stopping Job queue slave processes, flags = 7
Fri Jun 12 19:15:13 2015
Job queue slave processes stopped
Fri Jun 12 19:20:12 2015
Active call for process 11403540 user 'oracle10g' program
SHUTDOWN: waiting for active calls to complete.
等了許久於是
ps -ef|grep 11403540
oracle10 11403540 1 100 Mar 18 - 78207:11 oracleecssdb (LOCAL=NO)
kill -9 11403540
後續資料庫正常停下來
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25469263/viewspace-2640144/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ORA-00059:maximum number of DB_FILES exceed 解決
- ORA-00059: maximum number of DB_FILES exceeded 處理
- ORA-00059: maximum number of DB_FILES exceeded 情況分析及實驗處理
- ORA-00059錯誤分析以及MAXDATAFILES、DB_FILES引數修改
- db_files和控制檔案maxdatafiles
- db_files對於oracle使用記憶體的影響Oracle記憶體
- oracle 9i 後 maxdatafiles 與db_files的關係Oracle
- Oracle中臨時檔案File#和Db_files關係(zt)Oracle
- 資料庫db_files引數增大怎麼辦資料庫
- Oracle更改預設日期格式 更改會話日期格式Oracle會話
- 【轉載】控制檔案中的 MAXDATAFILES 和 DB_FILES 關係
- MAXDATAFILES,DB_FILES及控制檔案的自動擴充套件套件
- Oracle - ORA-00020: maximum number of processes (500) exceededOracle
- [LeetCode] Third Maximum NumberLeetCode
- Oracle 11g db_files 與 控制檔案中的 maxdatafiles 的關係及區別Oracle
- Oracle 更改 EM 所在的預設節點Oracle
- [Archive]更改ORACLE預設歸檔路徑HiveOracle
- LeetCode-Create Maximum NumberLeetCode
- ORA-00018:maximum number of sessions exceedeSession
- ORA-00018: maximum number of sessions exceededSession
- ORA-00018 maximum number of sessions exceededSession
- skipped: maximum number of running instances reached (1)
- 如何更改預設的Clientclient
- CactiEZ更改預設80埠
- 更改bootstrap的預設樣式boot
- 更改Thunderbird的預設語言
- 誰控制資料檔案最大數限制是 db_files還是控制檔案中的maxdatafiles??
- 深度剖析:ORA-00018: maximum number of sessions exceededSession
- oracle更改預設埠號,監聽器加密,限制ip訪問Oracle加密
- ADFS3.0 更改預設埠S3
- sbt更改預設ivy倉庫位置
- 更改JBOSS的預設埠號和預設根應用程式
- ORA-00018: maximum number of sessions exceeded錯誤解決Session
- [LeetCode] 1953. Maximum Number of Weeks for Which You Can WorkLeetCode
- 如何在 Ubuntu 中更改預設終端Ubuntu
- 如何更改Joomla中的預設語言OOM
- 更改BootStrap popover的預設樣式boot
- w10設定預設播放器怎麼更改_w10更改預設播放器操作方法播放器