https://gitee.com/ghi/dbsyncer/wikis/%E6%93%8D%E4%BD%9C%E6%89%8B%E5%86%8C/%E6%97%A5%E5%BF%97%E9%85%8D%E7%BD%AE[%E6%95%B0%E6%8D%AE%E6%BA%90]/Oracle%E5%BD%92%E6%A1%A3%E6%97%A5%E5%BF%97
名称:OracleArchLogClear.bat
C:\Oracle\product\11.2.0\dbhome_1\BIN/rman target / cmdfile=C:\Oracle\product\11.2.0/OracleArchLogClear.rman log=C:\Oracle\product\11.2.0/rman.log
名称:OracleArchLogClear.rman
DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-7';
在windows下添加一个计划,定时执行XXX.bat 即可。