定时清理ORACLE归档日志,保存5天 可以设置定时任务,每天跑一次。 clear_archvilog.sh rman target /<<EOF delete archivelog until time 'sysdate-5' ;YESexitEOF