Database Backup and Recovery (MOSC)

MOSC Banner

How to reduce time or bypass dbms_backup_restore.refreshagedfiles?

edited Nov 12, 2015 8:41PM in Database Backup and Recovery (MOSC) 6 commentsAnswered

Hi all,

We're using the rman xtt driver of Doc Id 1389592.1 to migrate a database 11.2.0.3 from HP-UX to Linux platform.

In the rman backup "incremental from scn" phase, a long time is spent in dbms_backup_restore.refreshagedfiles, apprx 9-10 minutes for each backup tablespace command. The excerpt from an rman trace file below shows an example:

DBGPLSQL:      channel default: Starting refreshAgedFiles at 03.11.2015 10:00:37 [10:00:37.872] (refreshAgedFiles)

DBGSQL:        TARGET> declare alldest       number; policy        varchar2(512); begin dbms_rcvman.getRedoLogDeletionPolicy(policy);  select nvl(count(*), 0) into

alldest from x$ksppi a, x$ksppcv2 b where a.indx+1 = kspftctxpn and ksppinm ='_log_deletion_policy' and upper(kspftctxvl) ='ALL'; if (alldest != 0) then alldest :=

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center