1 , % rman TARGET SYS/change_on_install@prod1 CATALOG rman/rman@rcat connected to target database: RDBMS (DBID=1237603294) connected to recovery catalog database 2 , LIST BACKUP SUMMARY;
3 , Run DELETE statements to delete all existing physical backupsDELETE BACKUP DEVICE TYPE sbt; DELETE BACKUP DEVICE TYPE DISK;
4 , % sqlplus rman/rman@rcat SQL> SELECT DB_KEY, DB_ID FROM DB WHERE DB_ID = 1237603294;
5 , While still connected to the recovery catalog, enter the following,
whereDB_KEYandDB_IDare the corresponding columns from the row you got from the query in step 4:
SQL> EXECUTE dbms_rcvcat.unregisterdatabase(db_key, db_id)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/66634/viewspace-999500/ ,如需转载,请注明出处,否则将追究法律责任。