ITeye博客

Oracle 快速清理归档文件

xuxujing · 2013-09-11 12:02 · Oracle · 行业应用 · Markdown

1.查看

sqlplus /nolog
conn /as sysdba

select * from v$flash_recovery_area_usage;

 

 2.清理

rman target /

delete archivelog until time 'sysdate';
或
delete archivelog until time 'sysdate-1'; 

 3.出现ORA-09817: Write to audit file failed,说明磁盘空间满了

 

df -lh 查看磁盘空间,清理后就可以登录Oracle

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。