Unable To Rename An Existing PDB Due To Entries In PDB_PLUG_IN_VIOLATIONS
(Doc ID 2215331.1)
Last updated on MAY 19, 2022
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Information in this document applies to any platform.
Customer is trying to rename a PDB from PCPKMI to PCPKMI1. However entries present in PDB_PLUG_IN_VIOLATIONS are causing this issue.
SQL> alter pluggable database PCPKMI open restricted;
Pluggable database altered.
SQL> alter session set container=PCPKMI;
SQL> alter pluggable database PCPKMI rename global_name to PCPKMI1;
alter pluggable database PCPKMI rename global_name to PCPKMI1
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-00001: unique constraint (SYS.I_PDB_ALERT1) violated
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document