Relationship between PDB, CDB, and users in Oracle12c, oracle12cpdb

Source: Internet
Author: User

Relationship between PDB, CDB, and users in Oracle12c, oracle12cpdb

CDB: CDB is called the Container Database and the Container Database. (Public users)

PDB: PDB is called Pluggable Database, which is Pluggable. (Local User)

Link example:

We can clearly see the components of CDB:

1. ROOT:ROOT, also known as CDB $ ROOT, stores metadata provided by ORACLE and Common users)An example of metadata is the source code of the PL/SQL package provided by ORACLE. The Common User is the User that exists in each container. A cdb can have only one root.

2. SEED: Also called PDB $ Seed,This is the template for creating the PDBS database.You cannot add or modify an object in Seed. One CDB can have only one Seed. This sentiment is very similar to the model database in SQL SERVER.

3. PDB:The image presented by PDB to users and applications is like a normal database without CDB.. For example, a PDB can include all the data and code required to support a specific application. PDB is fully backward compatible with all databases of earlier versions of Oracle12c.

Each of these components can be called a container. Therefore,ROOT is a container, Seed is a container, and each PDB is a container. Each container has a unique ID and name in CDB.

We can easily insert a PDB to CDB or pull a PDB from CDB. When we insert a PDB into CDB, it is equivalent to connecting the PDB with CDB. Otherwise, the relationship is removed.

This greatly facilitates data migration. We can easily move a specific PDB from one CDB to another without changing any data and architecture. Of course, a PDB can only insert one CDB at a time instead of multiple. Each PDB has its own unique GUID to prevent the use of PDB.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.