歸檔目錄滿或不夠用.致資料庫down!!

wisdomone1發表於2009-01-07

由於近期專案中資料庫出問題比較多:

現摘錄如下:

Archiving not possible: No primary destinations errors

上一篇 / 下一篇  2008-10-29 12:25:41 / 個人分類:oracle

If space ran out in an archive destination, after you fix the problem, you may still recieve the following error in your alert_log:

ARC1: Archiving not possible: No primary destinations

A quick way to solve this is to modify your archive destination with thereopenparameter. This parameter specifies the minimum number of seconds before redo transport services should try to reopen a failed destination.


SQL> show parameter log_archive_dest_1


NAME TYPE VALUE
------------------------------------ ------- ------------------------------
log_archive_dest_1 string location=/db/orcl/archive


SQL> alter system set log_archive_dest_1='location=/db/orcl/archive reopen=5' scope=both;

System altered.

Following that modification you should start seeing successful archive messages in your alert_log.

ARC1: Beginning to archive log# 1 seq# 115127
...
ARC0: Completed archiving log# 1 seq# 115127
...


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9240380/viewspace-531592/,如需轉載,請註明出處,否則將追究法律責任。

相關文章