更改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 情況分析及實驗處理
- DB_FILES引數
- RAC 修改引數DB_FILES
- [LeetCode] Third Maximum NumberLeetCode
- Oracle更改預設日期格式 更改會話日期格式Oracle會話
- ORA-00018:maximum number of sessions exceedeSession
- skipped: maximum number of running instances reached (1)
- [LeetCode] 2684. Maximum Number of Moves in a GridLeetCode
- [LeetCode] 1953. Maximum Number of Weeks for Which You Can WorkLeetCode
- CactiEZ更改預設80埠
- ADFS3.0 更改預設埠S3
- 更改arch的預設終端
- 更改bootstrap的預設樣式boot
- 更改BootStrap popover的預設樣式boot
- 如何在 Ubuntu 中更改預設終端Ubuntu
- Jupyter Notebook怎麼更改預設路徑
- 如何更改Joomla中的預設語言OOM
- win10更改預設開啟程式設定方法 win10怎麼更改應用預設開啟方式Win10
- w10設定預設播放器怎麼更改_w10更改預設播放器操作方法播放器
- ORACLE NUMBER資料型別Oracle資料型別
- How Oracle Store Number internal(zt)Oracle
- Linux系統預設閘道器怎麼更改?Linux系統預設閘道器的更改方法教程Linux
- LeetCode(1297):子串的最大出現次數 Maximum Number of Occurrences of a Substring(Java)LeetCodeJava
- Django中更改預設資料庫為mysqlDjango資料庫MySql
- 如何更改macOS Catalina的預設瀏覽器Mac瀏覽器
- 更改Mac檔案的預設開啟方式Mac
- 取消element中input type=number中的預設箭頭
- Oracle實驗(03):number的使用Oracle
- Oracle的number資料型別Oracle資料型別
- Oracle中rownum和row_number()Oracle
- win10預設程式怎麼更改_win10設定預設程式的方法Win10
- 在Docker中,如何更改Docker的預設儲存設定?Docker
- 如何更改macOS系統的預設瀏覽器Mac瀏覽器
- 如何更改iPhone和iPad的預設瀏覽器iPhoneiPad瀏覽器
- 蘋果手機如何更改預設瀏覽器蘋果瀏覽器
- win10自動更改預設印表機怎麼辦_win10會自動更改預設印表機如何解決Win10