Unable To Rename An Existing PDB Due To Entries In PDB_PLUG_IN_VIOLATIONS
Last updated on JANUARY 31, 2018
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 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
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms