我想在我的DB oracle上删除arhcivelog。
RMAN> list backup of archivelog all;
specification does not match any backup in the repository
似乎没有任何一个。
但恢复区域不为空。
SELECT * FROM V$RECOVERY_FILE_DEST;
name space_limit space_used space_reclaimable number of files
/opt/oracle/recovery_area 21474836480 10529677312 0 8
SQL> archive log list;
Database log mode No Archive Mode
Automatic archival Disabled
Archive destination USE_DB_RECOVERY_FILE_DEST
Oldest online log sequence 2081
Current log sequence 2083
我的神谕有什么不对?如何删除所有存档日志?
非常感谢。
答案 0 :(得分:0)
删除磁盘上的所有存档日志,无论它们是否已备份
RMAN > delete archivelog all;
删除磁盘上的所有存档日志,无论它们是否已备份或是否有一天。
RMAN > delete archivelog all completed before ‘sysdate -1′;
答案 1 :(得分:0)
发布频道:ORA_DISK_1 分配的频道:ORA_DISK_1 通道ORA_DISK_1:SID = 47设备类型= DISK 规范与存储库中的任何存档日志都不匹配
答案 2 :(得分:0)
RMAN> delete archivelog all;
released channel: ORA_DISK_1
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=6 device type=DISK
specification does not match any archived log in the repository