{"id":3713,"date":"2013-11-29T08:21:04","date_gmt":"2013-11-29T08:21:04","guid":{"rendered":"http:\/\/blog.esds.co.in\/?p=3713"},"modified":"2019-01-25T09:30:59","modified_gmt":"2019-01-25T09:30:59","slug":"creating-container-and-pluggable-databases-using-dbca","status":"publish","type":"post","link":"https:\/\/www.esds.co.in\/blog\/creating-container-and-pluggable-databases-using-dbca\/","title":{"rendered":"Creating Container and Pluggable Databases using DBCA"},"content":{"rendered":"<p>In my earlier article, we got the short and sweet understanding of Multi-Tenant database, its features and benefits. The intent of article is understanding the process of creating Container Databases <b><i>CDB <\/i><\/b>that can hold none, single or many Pluggable Databases <b><i>PDB<\/i><\/b>.<\/p>\n<p>The creation of CDB databases is as almost same as those in previous releases, whereas there is difference in PBD<b><i> <\/i><\/b>databases. Also we shall further see the way we connect to this databases. And finally how to plug and unplug the databases.<\/p>\n<p>We shall start with Creating Container Database. We shall make use of DBCA utility to create the both CDB and PDB databases. The very first screen we see the introductory screen prompting us selection of operations for creation and managing. Select \u201cCreate Database\u201d and move ahead.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3728\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image001.jpg\" alt=\"image001\" width=\"675\" height=\"468\" \/><\/p>\n<p>Select the \u201cAdvance Option\u201d, this gives clear picture of the options with which we are about to create container database.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3729\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image002.jpg\" alt=\"image002\" width=\"675\" height=\"468\" \/><\/p>\n<p>Here as we can select the template as our requirement. In our case \u201cGeneral Purpose or Transactional Processing\u201d and get going.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3730\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image003.jpg\" alt=\"image003\" width=\"675\" height=\"468\" \/><\/p>\n<p>Name the database as you wish, in our case here \u201cCBD\u201d. We also see the option to create the database as container database with or without any pluggable database. Here, I have chosen to \u201cCreate As Container Database\u201d with \u201cCreate and Empty container Database\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3731\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image004.jpg\" alt=\"image004\" width=\"675\" height=\"468\" \/><\/p>\n<p>Select the option to Configure and Register with EM.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3732\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image005.jpg\" alt=\"image005\" width=\"675\" height=\"468\" \/><\/p>\n<p>Provide the passwords for database users. Here, I have specified the same password for all the database users.<\/p>\n<p>Again, you will notice on more textbox, where you need to provide the oracle password that you provided while installing database software. This is additional to Oracle 12c release.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3733\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image006.jpg\" alt=\"image006\" width=\"675\" height=\"468\" \/><\/p>\n<p>Choose the listener name and port number on which listener will listen. And click \u201cNext\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3734\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image007.jpg\" alt=\"image007\" width=\"675\" height=\"468\" \/><\/p>\n<p>Select the storage options and Archiving, as per requirement and click \u201cNext\u201d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3735\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image008.jpg\" alt=\"image008\" width=\"675\" height=\"468\" \/><\/p>\n<p>If you are using database vault, configure the vault options else click \u201cNext\u201d, as default settings.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3736\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image009.jpg\" alt=\"image009\" width=\"675\" height=\"468\" \/><\/p>\n<p>Configure memory and sizing for database.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3737\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image010.jpg\" alt=\"image010\" width=\"675\" height=\"468\" \/><\/p>\n<p>You can save the database creation script for further reference.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3738\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image011.jpg\" alt=\"image011\" width=\"675\" height=\"468\" \/><\/p>\n<p>You can see the summary of the options you have selected so far. If you wish you can go back and change the settings. Click \u201cFinish\u201d to start the installation.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3739\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image012.jpg\" alt=\"image012\" width=\"675\" height=\"468\" \/><\/p>\n<p>You see the progress of installation step-by-step.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3740\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image013.jpg\" alt=\"image013\" width=\"675\" height=\"468\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3741\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image014.jpg\" alt=\"image014\" width=\"675\" height=\"468\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3742\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image015.jpg\" alt=\"image015\" width=\"675\" height=\"468\" \/><\/p>\n<p>Click \u201cClose\u201d and here you have successfully created the container database. Now let us create the pluggable database in this container.<\/p>\n<p>Creating Pluggable Database is very simple process. The only you specified to Container are directly applicable to pluggable database. From DBCA, select the \u201cManage Pluggable Databases\u201d and move \u201cNext\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3743\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image016.jpg\" alt=\"image016\" width=\"675\" height=\"468\" \/><\/p>\n<p>Select the option to create the pluggable database here.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3744\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image017.jpg\" alt=\"image017\" width=\"675\" height=\"468\" \/><\/p>\n<p>Select the container in which you want to create the pluggable database. In our case, we only have CDB.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3745\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image018.jpg\" alt=\"image018\" width=\"675\" height=\"468\" \/><\/p>\n<p>Specify \u201cCreate new Pluggable Database\u201d and Click \u201cNext\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3746\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image019.jpg\" alt=\"image019\" width=\"675\" height=\"468\" \/><\/p>\n<p>Provide the name of database as \u201cPDB\u201d, provide the username and password for this database.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3747\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image020.jpg\" alt=\"image020\" width=\"675\" height=\"468\" \/><\/p>\n<p>Have glance at the options selected and modify if required. And \u201cFinish\u201d to create the database.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3748\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image021.jpg\" alt=\"image021\" width=\"675\" height=\"468\" \/><\/p>\n<p>You can see the progress of database creation step-by-step.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3749\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image022.jpg\" alt=\"image022\" width=\"675\" height=\"468\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3750\" src=\"http:\/\/blog.esds.co.in\/wp-content\/uploads\/2013\/11\/image023.jpg\" alt=\"image023\" width=\"675\" height=\"468\" \/><\/p>\n<p>Click \u201cClose\u201d to complete the creation of PDB.<\/p>\n<p>Now once the both container and pluggable database are created, it\u2019s important to understand the how to connect to both databases. We must know differences in the database. If it is container what are different pluggable database in it. How do we switch between containers? We shall learn about this in next article.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my earlier article, we got the short and sweet understanding of Multi-Tenant database, its features and benefits. The intent of article is understanding the process of creating Container Databases CDB that can hold none, single or many Pluggable Databases PDB. The creation of CDB databases is as almost same as those in previous releases,&#8230; <\/p>\n<div class=\"clear\"><\/div>\n<p><a href=\"https:\/\/www.esds.co.in\/blog\/creating-container-and-pluggable-databases-using-dbca\/\" class=\"gdlr-button small excerpt-read-more\">Read More<\/a><\/p>\n","protected":false},"author":18,"featured_media":3728,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[197],"tags":[1190],"class_list":["post-3713","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-backup-services","tag-pluggable-databases"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts\/3713","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/comments?post=3713"}],"version-history":[{"count":7,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts\/3713\/revisions"}],"predecessor-version":[{"id":9558,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/posts\/3713\/revisions\/9558"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/media\/3728"}],"wp:attachment":[{"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/media?parent=3713"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/categories?post=3713"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esds.co.in\/blog\/wp-json\/wp\/v2\/tags?post=3713"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}