91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

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

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

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

永善县| 建水县| 邓州市| 安塞县| 武山县| 旺苍县| 雷山县| 商水县| 濮阳市| 江陵县| 抚州市| 成安县| 湘潭县| 安吉县| 承德县| 公主岭市| 乐东| 焦作市| 隆德县| 上饶市| 曲松县| 乌拉特中旗| 池州市| 大英县| 禄丰县| 璧山县| 库尔勒市| 财经| 门头沟区| 扬州市| 连江县| 伊川县| 罗田县| 英德市| 宁德市| 上杭县| 杭州市| 游戏| 屯门区| 乡城县| 肥西县|