WHCSRL 技术网

oracle删除归档日志

删除3天前归档日志

  1. rman target / <<EOF
  2. run{
  3. crosscheck archivelog all;
  4. delete expired archivelog all;
  5. delete noprompt archivelog all completed before 'sysdate-3';
  6. }
推荐阅读