My Oracle Support Banner

Cannot Add a PDB (Pluggable DB) to a CDB (Container DB) Created with a Template (Doc ID 2163089.1)

Last updated on FEBRUARY 27, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud 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
Information in this document applies to any platform.


1. Create a template for a 12c Container database with 0 pluggable database.
[Choose the option: Create an Empty container database]
dbca -> Create Database -> Advanced Mode -> General Purpose ->
Create As Container Database -> Create an empty Container Database
Save as a New Template

2. Use dbca to create a pluggable database.

3. Manage pluggable database: Choose the 'empty container database' so that it becomes part of that container.
You will get an error: selected database ... is not a container database.

4. So, you can create a container database using the template attached. You just can't add a pdb to the container. This defeats the purpose of the template.




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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.