Home > Database > Mysql Tutorial > 【翻译自mos文章】asm归档路径满了

【翻译自mos文章】asm归档路径满了

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:58:37
Original
1319 people have browsed it

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)归档文件被存储于as

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 磁盘组中进行归档。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template