source ~/.bash_profile
rman target / nocatalog log=/home/oracle/scripts/delete_archive.log <<EOF
#allocate channel for maintenance type disk;
crosscheck archivelog all;
delete noprompt expired archivelog all;
delete noprompt archivelog until time 'sysdate-8';
exit;
EOF
oracle 清理archivelog脚本
最新推荐文章于 2023-06-01 10:24:41 发布