Thursday, 10 October 2019

What is PDB and CDB in oracle 12c

Hi DBA-Mates, Hope you all are doing well.
What is PDB and CDB in oracle 12c

Day before yesterday, I give a presentation for my team about 12c features about what is PDB (Pluggable database) and CDB (Container Database).

And the good thing is, I got a good feedback also. So, I thought to share here with you all, it may helpful and tried to explain simple way.

Suppose, we are installing a database 12c, it will contain "Oracle metadata" and after that we put "User data and metadata"

Oracle Metadata (ex. sys and system schema) -- called CDB (Container Database)

User data/metadata -- called PDB (Pluggable database)

Old 11g:

Suppose, we have 2 clients then we have to create/install 2 database on the same server for their access where needed 2 instances, 2 cpus and other background process which makes more loads.

Now 12c Features:

In cloud or SaaS or pluggable Database:

Suppose, we have 1 server and we installed Fresh Database (DB with only Oracle Metadata e.x: like sys and system with objects).

So it will be act like CDB (Container database) or called as CDB (Container DB).

So, there will only one instance and their background process.

Then, there will space provided to users/clients to create their own schema/database.

So, if a client came and asked for database on server, then oracle provider can tell them CDB name, under which they can create their own schema/database.

Same if another user/client came, they can create their own in same server under same CDB.

So, there is no need to install again and again Oracle Metadata/ fresh database, no need to create many instances.

So, also it will be called as SaaS (Software as a Service).

And the User’s metadata or schema’s called as PDB (Pluggable Database)

Note: Of course, for this good hardware and servers required which is available now a days easily, no doubt.

Example in easy language which I have understood it:

Suppose, there is a building with 4 floors, only with hall on every floor. And there are facilities like lift, watchman, water-tanks, garden, bank ATMs.
One person came and he asked the owner that he want only half space in 1st floor and another person came and asked owner for another half space on 1st floor.

Owner provided them half-half space. And they (Customers) build the houses as per their requirements.

So, here facilities like lift, watchman, water-tanks, garden, bank ATMs both customers are using same but they have diff-diff ownership's.

Same-way, here land-plot and Facilities are like CDB and customer’s houses are PDB.

Hope this may useful. Thank you all!!!

Some more useful links:

ORA-01110 data file 1: system01.dbf recovery




Regards,

10 comments:

  1. Replies

    1. Dear Utkarsh,

      Thank you very much for your feedback.

      Regards,
      ora-data Team

      Delete
  2. Cannot have more easy explanation than this. Wonderful 👌🏻

    ReplyDelete
    Replies

    1. Dear User,

      Thanks a lot for your valuable feedback.

      Regards,
      ora-data Team

      Delete
  3. JAVPRO - Jav Free, Jav Streaming, Jav Uncensored, Jav Censored, Jav Online. All clips JAVPRO was collecting from other websites sources, we wont able to copyright any countries. JAVPRO.CC will updates all for new videos.
    Website: https://www.flickr.com/people/javprocc/
    Key: #jav , #javpro, #javpro.cc, #javhd, #javhdstreaming

    ReplyDelete
  4. Thanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle Fusion Financials , Oracle Project Portfolio Management (PPM) Cloud Tutorial and Oracle Fusion Procurement . Actually I was looking for the same information on internet for Oracle Fusion Manufacturing , Oracle APEX , Oracle Financials Cloud and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can check more aboutOracle Fusion Supply Chain Management Cloud , Oracle HCM Cloud , Oracle Project Portfolio Management (PPM) Cloud , Oracle Cloud Applications to better understand

    ReplyDelete
  5. You are a perfect teacher excellent explanation.

    ReplyDelete
    Replies

    1. Dear Mohanraj,

      Thank you very much for your kind feedback. It's motivate us a lot...

      Regards,
      ora-data Team

      Delete

Thank you for your comments and suggestions. It's good to talk you.