ORACLE 9i歸檔之ARCn: Media recovery disabled
2016年第二季度集中巡檢中發現一平臺9i資料庫的告警日誌中有大量的報警資訊如下:
Wed Apr 13 11:16:35 2016
Thread 1 advanced to log sequence 560256
Current log# 3 seq# 560256 mem# 0: /oradata/oracle/redolog/redo03.dbf
Wed Apr 13 11:16:35 2016
ARC1: Media recovery disabled
Wed Apr 13 11:16:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:17:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:18:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:19:50 2016
ARC0: Media recovery disabled
Wed Apr 13 11:19:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:20:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:21:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:22:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:23:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:24:50 2016
ARC0: Media recovery disabled
Wed Apr 13 11:24:55 2016
ARC1: Media recovery disabled
.
.
.
之所以出現ARC1: Media recovery disabled告警,原因是9i資料庫中有一個引數log_archive_start設定成true,在資料庫處於非歸檔模式啟動後啟動了歸檔程式導致的,下邊是處理過程:
--查詢資料庫是否是非歸檔模式
SQL> select LOG_MODE from v$database;
LOG_MODE
------------
NOARCHIVELOG
--檢視log_archive_start引數
SQL>show parameter log_archive_start
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_start boolean TRUE
--線上關閉歸檔程式
SQL> archive log stop;
?′|-μē? --作業系統字符集亂碼,意思應該是歸檔程式已停止
--檢視告警日誌
oracle@ZB-MVS:~> tail -f /home/oracle/oradbf/admin/zxin/bdump/alert_ora.log
Archive Log Stop
Archiving is disabled
Shutting down archive processes
Archiving is disabled
Fri Apr 15 14:40:27 2016
ARCH shutting down
ARC0: Archival stopped
Fri Apr 15 14:40:27 2016
ARCH shutting down
ARC1: Archival stopped
--操作前作業系統層次的歸檔程式檢視
oracle@ZB-MVS:~> ps -ef|grep arc
oracle 13329 1 0 Apr13 ? 00:00:00 ora_arc0_ora
oracle 13331 1 0 Apr13 ? 00:00:00 ora_arc1_ora
oracle 27057 18494 0 14:20 pts/0 00:00:00 grep arc
--操作後作業系統層次的歸檔程式檢視
oracle@ZB-MVS:~> ps -ef|grep arc
oracle 10350 15945 0 14:41 pts/0 00:00:00 grep arc
Wed Apr 13 11:16:35 2016
Thread 1 advanced to log sequence 560256
Current log# 3 seq# 560256 mem# 0: /oradata/oracle/redolog/redo03.dbf
Wed Apr 13 11:16:35 2016
ARC1: Media recovery disabled
Wed Apr 13 11:16:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:17:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:18:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:19:50 2016
ARC0: Media recovery disabled
Wed Apr 13 11:19:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:20:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:21:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:22:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:23:55 2016
ARC1: Media recovery disabled
Wed Apr 13 11:24:50 2016
ARC0: Media recovery disabled
Wed Apr 13 11:24:55 2016
ARC1: Media recovery disabled
.
.
.
之所以出現ARC1: Media recovery disabled告警,原因是9i資料庫中有一個引數log_archive_start設定成true,在資料庫處於非歸檔模式啟動後啟動了歸檔程式導致的,下邊是處理過程:
--查詢資料庫是否是非歸檔模式
SQL> select LOG_MODE from v$database;
LOG_MODE
------------
NOARCHIVELOG
--檢視log_archive_start引數
SQL>show parameter log_archive_start
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
log_archive_start boolean TRUE
--線上關閉歸檔程式
SQL> archive log stop;
?′|-μē? --作業系統字符集亂碼,意思應該是歸檔程式已停止
--檢視告警日誌
oracle@ZB-MVS:~> tail -f /home/oracle/oradbf/admin/zxin/bdump/alert_ora.log
Archive Log Stop
Archiving is disabled
Shutting down archive processes
Archiving is disabled
Fri Apr 15 14:40:27 2016
ARCH shutting down
ARC0: Archival stopped
Fri Apr 15 14:40:27 2016
ARCH shutting down
ARC1: Archival stopped
--操作前作業系統層次的歸檔程式檢視
oracle@ZB-MVS:~> ps -ef|grep arc
oracle 13329 1 0 Apr13 ? 00:00:00 ora_arc0_ora
oracle 13331 1 0 Apr13 ? 00:00:00 ora_arc1_ora
oracle 27057 18494 0 14:20 pts/0 00:00:00 grep arc
--操作後作業系統層次的歸檔程式檢視
oracle@ZB-MVS:~> ps -ef|grep arc
oracle 10350 15945 0 14:41 pts/0 00:00:00 grep arc
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29357786/viewspace-2081916/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle media recovery介質恢復實驗-Oracle
- oracle media recovery介質恢復小記Oracle
- Oracle歸檔目錄 和 DB_RECOVERY_FILE_DESTOracle
- Crash recovery和Media recovery的區別
- oracle 9i資料庫夯住無法歸檔Oracle資料庫
- oracle之 Oracle歸檔日誌管理Oracle
- Oracle歸檔日誌使用情況: v$recovery_file_dest and v$recovery_area_usage.Oracle
- Oracle 歸檔和非歸檔模式之間的切換Oracle模式
- oracle 歸檔/非歸檔Oracle
- ORA-16139: media recovery requiredUI
- Oracle 資料庫歸檔配置-9i,10g,11gOracle資料庫
- Oracle 9i Logical Standby與Physical standby歸檔恢復區別Oracle
- oracle 之recovery directory databaseOracleDatabase
- oracle歸檔Oracle
- Oracle OCP 1Z0 053 Q399(block media recovery)OracleBloC
- Oracle OCP 1Z0 053 Q401(Block Media Recovery)OracleBloC
- Oracle歸檔模式和非歸檔模式Oracle模式
- oracle歸檔模式Oracle模式
- oracle 開歸檔Oracle
- Oracle 歸檔模式Oracle模式
- 更改ORACLE歸檔路徑及歸檔模式Oracle模式
- Oracle 歸檔與非歸檔模式的更改Oracle模式
- Oracle RAC 歸檔與非歸檔切換Oracle
- ASM管理環境----資料檔案丟失介質恢復(MEDIA RECOVERY)ASM
- Oracle歸檔模式與非歸檔模式設定Oracle模式
- ORACLE資料庫歸檔改為非歸檔Oracle資料庫
- oracle歸檔日誌Oracle
- ORACLE刪除歸檔Oracle
- Oracle 修改歸檔模式Oracle模式
- Oracle 歸檔日誌Oracle
- oracle歸檔模式管理Oracle模式
- oracle的歸檔模式Oracle模式
- oracle 歸檔設定Oracle
- oracle archive歸檔初步OracleHive
- Oracle歸檔模式和非歸檔模式的區別Oracle模式
- Backup And Recovery User's Guide-備份歸檔重做日誌檔案GUIIDE
- oracle結構梳理---歸檔檔案Oracle
- 歸檔oracle alert日誌Oracle