|
SORRY,看错了,看成DELETE EXPIRED。。。了。
YONGHUANG,您删除的是数据库上的ARCHIVELOGS吗?不是RMAN备份的ARCHIVELOGS吧?因为我看到ORACLE11G里的资料,说的有些模糊:
DELETE...:
To delete backups, update the control file records to status DELETED, and remove their records from the recovery catalog (if a recovery catalog is used).
You can specify that DELETE should remove backups that are EXPIRED or OBSOLETE. If you run DELETE EXPIRED on a backup that exists, then RMAN issues a warning and does not delete the backup. If you use the DELETE command with the optional FORCE keyword, then RMAN deletes the specified backups, but ignores any I/O errors, including those that occur when a backup is missing from disk or tape. It then updates the RMAN repository to reflect the fact that the backup is deleted, regardless of whether RMAN was able to delete the file or whether the file was already missing.
RMAN uses all configured channels to perform the deletion. If you use DELETE for files on devices that are not configured for automatic channels, then you must use ALLOCATE CHANNEL FOR MAINTENANCE. For example, if you made a backup with an SBT channel, but only a disk channel is configured, then you must manually allocate an SBT channel for DELETE. An automatic or manually allocated maintenance channel is required when you use DELETE on a disk-only file.
从上面这段资料看,RMAN DELETE只能删除备份信息库和备份集合。 |
|