Sei sulla pagina 1di 3

8/24/2018 (12) Difference between cdb and pdb in oracle 12c | LinkedIn

Search 12 Free Upgrade


to Premium

Difference between cdb and pdb in


oracle 12c
Published on August 13, 2017
Ankit Ashok Aggarwal Follow
Oracle Database 11g Administrator Certified Associate at 17 0 1
Oracle, US‑CA (California)
72 articles

Container Database (CDB) : On the surface this seems very similar to a conventional
Oracle database, as it contains most of the working parts you will be already familiar
with (controlfiles, datafiles, undo, tempfiles, redo logs etc.). It also houses the data
dictionary for those objects that are owned by the root container and those that are
visible to all PDBs.

Pluggable Database (PDB) : Since the CDB contains most of the working parts for the
database, the PDB only needs to contain information specific to itself. It does not need to
worry about controlfiles, redo logs and undo etc. Instead it is just made up of datafiles
and tempfiles to handle it's own objects. This includes it's own data dictionary,
containing information about only those objects that are specific to the PDB. From
Oracle 12.2 onward a PDB can, and should, have a local undo tablespace.

Lets take a look at some of the characteristics of a CDB

Messaging
https://www.linkedin.com/pulse/difference-between-cdb-pdb-oracle-12c-ankit-ashok-aggarwal/ 1/3
8/24/2018 (12) Difference between cdb and pdb in oracle 12c | LinkedIn

12 of the
There is a separate SYSTEM and SYSAUX tablespace for the root container Free Upgrade
CDB and each PDB
to Premium

Thee is only one UNDO tablespace for the entire CDB

There is only one set of control files and online redo logs files for the entire CDB.
Individual PDB’s have their own data files (which contain the user data), but do not have
distinct redo log or control files.

We can create on default temporary tablespace for the entire CDB or each PDB can have
its own additional temporary tablespaces

There is single network administration files like listener.ora, tnsnames.ora,


and sqlnet.ora file for an entire CDB. All of the PDBs in the CDB use the same files.

There is only one set of background processes shared by the root and all PDBs

There is a single SGA shared by all PDB’s

When the CDB is shut down then all PDB’s are also automatically shut down

When the CDB is open then we can change the open mode of individual PDBs via
the ALTER PLUGGABLE DATABASE SQL statement.

Report this
17 Likes
+7

0 Comments
Add a comment…

Ankit Ashok Aggarwal


Oracle Database 11g Administrator Certified Associate at Oracle, US‑CA (California)
Follow

More from Ankit Ashok Aggarwal See all 72 articles

Messaging
https://www.linkedin.com/pulse/difference-between-cdb-pdb-oracle-12c-ankit-ashok-aggarwal/ 2/3
8/24/2018 (12) Difference between cdb and pdb in oracle 12c | LinkedIn

RAC Heartbeat Default data block size in oracle Oracle DB healthcheck


12 FreeDifference
Upgrade be
Ankit Ashok Aggarwal on LinkedIn Ankit Ashok Aggarwal on LinkedIn Ankit Ashok Aggarwal on LinkedIn to Premium
oracle 12c
Ankit Ashok Agg

t Questions? Select Language


munity Guidelines Visit our Help Center. English (English)
cy & Terms Manage your account and privacy.
feedback Go to your Settings.
dIn Corporation © 2018

Messaging
https://www.linkedin.com/pulse/difference-between-cdb-pdb-oracle-12c-ankit-ashok-aggarwal/ 3/3

Potrebbero piacerti anche