亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

RMAN 中delete exipired 和 delete obsolete 的區別

發布時間:2020-07-29 09:55:36 來源:網絡 閱讀:387 作者:鵬愛 欄目:數據庫

delete expired
If you run CROSSCHECK, and if RMAN cannot locate the files, then it updates their records in the RMAN repository to EXPIRED status. You can then use the DELETE EXPIRED command to remove records of expired backups and copies from the RMAN repository.

delete obsolete

The RMAN DELETE command supports an OBSOLETE option, which deletes backups that are no longer needed to satisfy specified recoverability requirements. You can delete files obsolete according to the configured default retention policy, or another retention policy that you specify as an option to the DELETE OBSOLETE command. As with other forms of the DELETE command, the files deleted are removed from backup media, deleted from the recovery catalog, and marked as DELETED in the control file.

delete expired刪除的是那些本來RMAN以為存在但是實際上在磁盤或者磁帶上已經被刪除了的信息,刪除的只是RMAN資料庫中的記錄;delete obsolete則刪除舊于備份保留策略定義的備份數據同時也更新RMAN資料庫以及控制文件。

 

=========================================================================================

EG:

#delete obsolete and expired backup and archivelog
run {
delete noprompt obsolete;
crosscheck archivelog all;
delete noprompt expired archivelog all;
crosscheck backup;
delete noprompt expired backup;
}


向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

许昌县| 什邡市| 玉山县| 得荣县| 化州市| 嘉义市| 莒南县| 噶尔县| 威信县| 白河县| 航空| 离岛区| 皋兰县| 云南省| 伊吾县| 凤山县| 嫩江县| 平度市| 建平县| 许昌市| 永寿县| 阜阳市| 古丈县| 佛坪县| 禹城市| 雷山县| 潞西市| 家居| 广平县| 通化市| 新昌县| 商丘市| 崇仁县| 章丘市| 九台市| 漠河县| 杭锦后旗| 平乡县| 灵台县| 年辖:市辖区| 三原县|