标题: ORA-38780 Unable To Drop Restore Point [打印本页] 作者: 刘泽宇 时间: 2025-6-1 11:28 标题: ORA-38780 Unable To Drop Restore Point 目标:
NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample schema(s), Public Documentation delivered with an Oracle database product or other training material. Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.
For the purposes of this document, the following fictitious environment is used as an example to describe the procedure:
The query below showed there isn't a restore point in the database controlfile.
SQL> select * from v$restore_point;
no rows selected
But the restore point BEFORE_UPDATE_20180810 exists in the RMAN catalog database. There is an inconsistency between the database and RMAN catalog database.
Option 1: Delete the restore point from the RMAN catalog database.
SQL> select * from nrsp where RSPNAME = 'BEFORE_UPDATE_20180810';
SQL>delete nrsp where RSPNAME = 'BEFORE_UPDATE_20180810';
Or
#1: Connect to the RMAN catalog database
#2: Unregister datebase (removes all database entries from the RMAN catalog)
#3: Register database (registers all database entries from the controlfile to the RMAN catalog because of no restore points in the controlfile
so that the RMAN catalog database will be sync up with the database controlfile.)