中文字幕av专区_日韩电影在线播放_精品国产精品久久一区免费式_av在线免费观看网站

溫馨提示×

溫馨提示×

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

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

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

新野县| 新郑市| 兴安盟| 石泉县| 辽宁省| 大田县| 南投市| 布拖县| 涿州市| 伊川县| 马尔康县| 双流县| 宁德市| 南宫市| 江都市| 文昌市| 宜兰市| 陵川县| 兴和县| 榆社县| 太谷县| 鹰潭市| 肇州县| 延吉市| 中方县| 芜湖市| 济南市| 秦皇岛市| 龙岩市| 神农架林区| 融水| 楚雄市| 芦溪县| 沁源县| 汉川市| 滨海县| 佛坪县| 建瓯市| 资兴市| 淳化县| 抚顺县|