明净

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理


exp emis/emis@orcl file=d:\backup\oracle\oracle%date:~0,10%.dmp owner=emis log=d:\backup\oracle\oracle%date:~0,10%.log


connect target emis/emis
run{
DELETE ARCHIVELOG ALL COMPLETED BEFORE 'SYSDATE-2'; //删除两天前的归档日志
crosscheck archivelog all; //检查
delete expired archivelog all; //删除过期日志
}

posted on 2015-10-30 15:16  明净  阅读(760)  评论(0编辑  收藏  举报