How to reduce time or bypass dbms_backup_restore.refreshagedfiles?
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 :=