【翻譯自mos文章】asm 歸檔路徑滿了,mosasm

來源:互聯網
上載者:User

【翻譯自mos文章】asm 歸檔路徑滿了,mosasm

asm 歸檔路徑滿了

參考原文:
ASM Archive destination is full. (Doc ID 351547.1)

適用於:
Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 11.1.0.7
This problem can occur on any platform.

癥狀:
1)歸檔路徑滿了
2)歸檔檔案被儲存於asm中。

原因:
asm 磁碟組消耗完了空間。

解決方案:

1)在資料庫執行個體中,編輯好如下指令碼:
==================================================================
spool rmarchive_asm.sql
set linesize 300

select 'alter diskgroup DISK_GROUP1 drop file ' || '''' || name ||'''' || ';' from V$ARCHIVED_LOG;

spool off
==================================================================

--->注意:以上對V$ARCHIVED_LOG的查詢,沒有加where條件。請自行添加where條件

2)在asm 執行個體中執行這個rmarchive_asm.sql ,比如:
==================================================================
alter diskgroup DISK_GROUP1 drop file '+DISK_GROUP1/v10gasm//1_1809_563453055.dbf' ;

alter diskgroup DISK_GROUP1 drop file '+DISK_GROUP1/v10gasm//1_1810_563453055.dbf' ;

alter diskgroup DISK_GROUP1 drop file '+DISK_GROUP1/v10gasm//1_1811_563453055.dbf' ;

alter diskgroup DISK_GROUP1 drop file '+DISK_GROUP1/v10gasm//1_1812_563453055.dbf' ;
==================================================================

$ export ORACLE_SID=+ASM

$ sqlplus "/as sysdba"

SQL> @ rmarchive_asm.sql
==================================================================


3)歸檔日誌將會被remove掉,然後空間得到釋放。因此歸檔進程能在asm 磁碟組中進行歸檔。




相關文章

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.