论坛首页 综合技术论坛

behavior of database backup with "plus archivelog"

浏览 1219 次
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2009-03-17   最后修改:2009-06-02

The RMAN reference document says that when the plus archivelog command is part of a backup script, RMAN will do:

 

1. runs an alter system archive log current statement
2. runs the backup archivelog all command. Note that if backup optimization is enabled, RMAN only backs up logs that have not yet been backed up

3. backs up the files specified in the BACKUP command
4. runs an alter system archive log current statement

5. backs up any remaining archived redo logs

The behavior of "plus archivelog" depends on whether optimization is enabled or disabled in RMAN. If backup optimization is off (which it is by default in RMAN), plus archivelogs will backup all archivelogs. If the archivelog destination is a flash recovery area, your database may keep very old archivelogs. Thus, the backup size will gradually grow and fill up the flash recovery area, since each backup includes all archivelogs in the flash recovery area.

 

To avoid backing up archivelogs that have already been backed up when using plus archivelog in a backup script, make sure you enable RMAN optimization.

论坛首页 综合技术版

跳转论坛:
Global site tag (gtag.js) - Google Analytics