Delete archive log

来源:互联网 发布:dvrnet监控软件 编辑:程序博客网 时间:2024/06/05 12:39

ORACLE_RMAN_Delete archive log

1. Remove thearchive log directly

1). Remove thearchive log;

2). Delete therecord of the database

# su - oracle

$ rman target /

RMAN> listarchivelog all;

RMAN>crosscheck archivelog all;

RMAN> deletenoprompt expired archivelog all;

RMAN> exit;

 

2. We can deletethe archive before the special day:

$ rman target /

RMAN> listarchivelog all;

RMAN>crosscheck archivelog all;

RMAN> deletenoprompt archivelog until time 'sysdate-7';

RMAN> exit;

3. Sugggest tofinish the full backup ASAP.

原创粉丝点击