Recovery Catalog cleanup - Performance Issue
I want to run maintainance on recovery catalog having records older than a year.
Resync catalog runs fast but crosscheck backup and Delete obsolete command is very slow.
Crosscheck seems to be running forever and Delete obsolete takes around 20 mins to delete one record.
Environment: Oracle 11.2.0.2, recovery catalog database in 11.2.0.2, Veritas Netbackup 7
When i trace the session during crosscheck backup, i can see it taking aroung 1-2 mins to validate backuppiece.
DBGPLSQL: channel ORA_SBT_TAPE_1: force: 0 [11:43:47.121] (change)
DBGPLSQL: channel ORA_SBT_TAPE_1: Calling ValidateBackupPiece for dbarch_O2P10261.7_1_792476551 [11:43:47.121] (change)
DBGRPC: krmxrpc - channel ORA_SBT_TAPE_1 kpurpc2 err=0 db=target proc=SYS.DBMS_BACKUP_RESTORE.VALIDATEBACKUPPIECE excl: 0