Feb 2, 2016
Feb 1, 2016
ORA-65149: PDB name conflicts with existing service name in the CDB or the PDB
เจอ Error ORA-65149: PDB name conflicts with existing service name in the CDB or the PDB หลังจากทดสอบแก้ไขชื่อ Pluggable database ตามด้านล่าง
I have found error ORA-65149: PDB name conflicts with existing service name in the CDB or the PDB after rename pluggable database as this log
C:\Users\Administrator\Desktop>sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Mon Feb 1 14:16:25 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing opt
ions
SQL> ALTER PLUGGABLE DATABASE PDBDEV RENAME GLOBAL_NAME TO PDBUAT;
ALTER PLUGGABLE DATABASE PDBUAT RENAME GLOBAL_NAME TO PDBUAT
*
ERROR at line 1:
ORA-65046: operation not allowed from outside a pluggable database
SQL> ALTER SESSION SET CONTAINER=PDBDEV;
Session altered.
SQL> ALTER PLUGGABLE DATABASE PDBDEV RENAME GLOBAL_NAME TO PDBUAT;
ALTER PLUGGABLE DATABASE PDBDEV RENAME GLOBAL_NAME TO PDBUAT
*
ERROR at line 1:
ORA-65045: pluggable database not in a restricted mode
SQL> ALTER PLUGGABLE DATABASE PDBDEV OPEN RESTRICTED FORCE;
Pluggable database altered.
SQL> ALTER PLUGGABLE DATABASE PDBDEV RENAME GLOBAL_NAME TO PDBUAT;
ALTER PLUGGABLE DATABASE PDBDEV RENAME GLOBAL_NAME TO PDBUAT
*
ERROR at line 1:
ORA-65149: PDB name conflicts with existing service name in the CDB or the PDB
SQL>
ปรากฎว่าเป็น Bug ของ Oracle 12c ตอนนี้ผมใช้ version 12.1.0.2 ตามเอกสาร
ORA-65149 While Plugging In A Pluggable Database (PDB) (Doc ID 1569267.1)
อาการคือไม่สามารถสร้าง pluggable database ชื่อเดี่ยวกับที่ clone จาก non-cdb และที่ชื่อเดียวกับ Instance Name ของ Container ได้ครับ
Oracle แจ้งว่าจะแก้ไขใน 12c Release2 อิอิ รอต่อไป
มีอะไรที่ผมเข้าใจผิดแจ้งด้วยนะครับ
hope this helps
Young Oracle DBA Thailand ..
I have found error ORA-65149: PDB name conflicts with existing service name in the CDB or the PDB after rename pluggable database as this log
C:\Users\Administrator\Desktop>sqlplus / as sysdba
SQL*Plus: Release 12.1.0.2.0 Production on Mon Feb 1 14:16:25 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing opt
ions
SQL> ALTER PLUGGABLE DATABASE PDBDEV RENAME GLOBAL_NAME TO PDBUAT;
ALTER PLUGGABLE DATABASE PDBUAT RENAME GLOBAL_NAME TO PDBUAT
*
ERROR at line 1:
ORA-65046: operation not allowed from outside a pluggable database
SQL> ALTER SESSION SET CONTAINER=PDBDEV;
Session altered.
SQL> ALTER PLUGGABLE DATABASE PDBDEV RENAME GLOBAL_NAME TO PDBUAT;
ALTER PLUGGABLE DATABASE PDBDEV RENAME GLOBAL_NAME TO PDBUAT
*
ERROR at line 1:
ORA-65045: pluggable database not in a restricted mode
SQL> ALTER PLUGGABLE DATABASE PDBDEV OPEN RESTRICTED FORCE;
Pluggable database altered.
SQL> ALTER PLUGGABLE DATABASE PDBDEV RENAME GLOBAL_NAME TO PDBUAT;
ALTER PLUGGABLE DATABASE PDBDEV RENAME GLOBAL_NAME TO PDBUAT
*
ERROR at line 1:
ORA-65149: PDB name conflicts with existing service name in the CDB or the PDB
SQL>
ปรากฎว่าเป็น Bug ของ Oracle 12c ตอนนี้ผมใช้ version 12.1.0.2 ตามเอกสาร
ORA-65149 While Plugging In A Pluggable Database (PDB) (Doc ID 1569267.1)
อาการคือไม่สามารถสร้าง pluggable database ชื่อเดี่ยวกับที่ clone จาก non-cdb และที่ชื่อเดียวกับ Instance Name ของ Container ได้ครับ
Oracle แจ้งว่าจะแก้ไขใน 12c Release2 อิอิ รอต่อไป
Now I use database version 12.1.0.2 and this is oracle bug 16888264 as ORA-65149 While Plugging In A Pluggable Database (PDB) (Doc ID 1569267.1). Can't create pluggable database name same as clone from non-cdb and name same as instance name of container. Oracle support say this issueis fixed in 12g Release 2.
มีอะไรที่ผมเข้าใจผิดแจ้งด้วยนะครับ
hope this helps
Young Oracle DBA Thailand ..
Subscribe to:
Posts (Atom)