{"id":280,"date":"2013-06-25T22:51:03","date_gmt":"2013-06-25T20:51:03","guid":{"rendered":"http:\/\/www.ludovicocaldara.net\/dba\/?p=280"},"modified":"2020-08-18T16:58:04","modified_gmt":"2020-08-18T14:58:04","slug":"oracle-database-12c-finally-out-first-impressions","status":"publish","type":"post","link":"https:\/\/www.ludovicocaldara.net\/dba\/oracle-database-12c-finally-out-first-impressions\/","title":{"rendered":"Oracle Database 12c finally out!! First impressions"},"content":{"rendered":"<p>After a long, long wait, Oracle finally announced the availability of his new generation database. And looking at the new features, I think it will take several months before I&#8217;ll learn them all. The impressive number of changes brings me back to the release 10gR1, and I&#8217;m not surprised that Oracle has waited so long, I still bet that we&#8217;ll find a huge amount of bugs in the first release. We need for sure to wait a first Patchset, as always, before going production.<\/p>\n<p><strong>Does &#8216;c&#8217; stand for cloud?<\/strong><\/p>\n<p>While Oracle has developed this release with the cloud\u00a0 in mind, the first word that comes out of my mind is &#8220;<strong>c<\/strong>onsolidation&#8221;. The new claimed feature\u00a0 <strong>Pluggable Database (aka Oracle Multitenancy) <\/strong>will be the dream of every datacenter manager along with CloneDB (well, it was somehow already available on 11.2.0.2) and ASM Thin_provisioned diskgroups.<\/p>\n<p>But yes, it&#8217;s definitely the best for clouds<\/p>\n<p>Other features like Flex ASM, Flex Cluster, several new security features, <strong>crossplatform backups<\/strong>&#8230; let imagine how deeply we can work to make private, multi-tenant clouds.<\/p>\n<p><strong>First steps, what changes with a typical installation<\/strong><\/p>\n<p><a href=\"https:\/\/www.ludovicocaldara.net\/dba\/wp-content\/uploads\/2013\/05\/splash.png\"><img loading=\"lazy\" decoding=\"async\" alt=\"splash\" src=\"https:\/\/www.ludovicocaldara.net\/dba\/wp-content\/uploads\/2013\/05\/splash.png\" width=\"470\" height=\"271\" \/><\/a><\/p>\n<p>The process for a traditional standalone DB+ASM installation is the same as the old 11gR2: You&#8217;ll need to install the Grid Infrastructure first (and then take advantage of the Oracle Restart feature) and subsequently the Database installation.<\/p>\n<p>The installation documentation is complete as always and is getting quite huge as the Grid Infrastructure capabilities increment.<\/p>\n<p>To meet most installation prerequisites, Oracle has prepared again an RPM that does the dirty work:<\/p>\n<p>oracle-rdbms-server-12cR1-preinstall-1.0-3.el6.x86_64.rpm<\/p>\n<p>Oracle suggests to use <a href=\"http:\/\/www.ksplice.com\/\">Ksplice <\/a>and also explicitly recommends to use the deadline I\/O scheduler (it has been longtime a best practice but I can&#8217;t remember it was documented officially).<\/p>\n<p>The splash screen has become more &#8220;red&#8221; giving a\u00a0colorful experience on the installation process. \ud83d\ude09<\/p>\n<p>Once the GI is installed, the Database installation asks for many new OS groups: OSBACKUPDBA, OSDGDBA, OSKMDBA. This give you more possibilities to split administration duties, not specifying them will lead to the &#8220;old behavior&#8221;.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-291\" alt=\"new_OSGROUPS\" src=\"https:\/\/www.ludovicocaldara.net\/dba\/wp-content\/uploads\/2013\/05\/new_OSGROUPS.png\" width=\"569\" height=\"219\" srcset=\"https:\/\/www.ludovicocaldara.net\/dba\/wp-content\/uploads\/2013\/05\/new_OSGROUPS.png 569w, https:\/\/www.ludovicocaldara.net\/dba\/wp-content\/uploads\/2013\/05\/new_OSGROUPS-300x115.png 300w, https:\/\/www.ludovicocaldara.net\/dba\/wp-content\/uploads\/2013\/05\/new_OSGROUPS-500x192.png 500w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/p>\n<p>You can decide to use an <strong>ACFS filesystem<\/strong> <strong>for<\/strong> both the installation AND <strong>the database files<\/strong> (with some exceptions, e.g. Windows servers). So, you can take advantage of the snapshot features of ACFS for your data, provided that the performance is acceptable (I&#8217;ll try to test and blog more about this). You can use the feature Copy-On-Write to provide writable snapshot copies, directly embedding a special syntax inside the &#8220;create pluggable database&#8221; command. Unfortunately, Oracle has decided to deliver pluggable databases as an extra-cost option. :-\/<\/p>\n<p>The database creation with DBCA is even easier, you have an option for a very default installation, you can guess it uses templates with all options installed by default.<\/p>\n<p>But the Hot topic is that you can create it as a &#8220;Container Database&#8221;. This is done by appending the keywords &#8220;enable pluggable database;&#8221; at the end of the create database command. The process will then put all the required bricks (creation of the pdb$seed database and so on), I&#8217;ll cover the topic in separate posts cause it&#8217;s the really biggest new feature.<\/p>\n<p><a href=\"https:\/\/www.ludovicocaldara.net\/dba\/wp-content\/uploads\/2013\/05\/dbca_create_as_pluggable.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-292\" alt=\"dbca_create_as_pluggable\" src=\"https:\/\/www.ludovicocaldara.net\/dba\/wp-content\/uploads\/2013\/05\/dbca_create_as_pluggable.png\" width=\"801\" height=\"600\" srcset=\"https:\/\/www.ludovicocaldara.net\/dba\/wp-content\/uploads\/2013\/05\/dbca_create_as_pluggable.png 801w, https:\/\/www.ludovicocaldara.net\/dba\/wp-content\/uploads\/2013\/05\/dbca_create_as_pluggable-300x224.png 300w, https:\/\/www.ludovicocaldara.net\/dba\/wp-content\/uploads\/2013\/05\/dbca_create_as_pluggable-400x300.png 400w\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" \/><\/a><\/p>\n<p>You can still use advanced mode to have the &#8220;old style&#8221; database creation, where you can customize your database.<\/p>\n<p>If you try to create only the scripts and run them manually (that&#8217;s my habit), you&#8217;ll notice that SQL scripts are not run directly within the opened SQL*Plus session, but they&#8217;re run from a perl script that basically suppresses all the output to terminal, giving the impression of a cleaner installation. IMO it could be better only if everything runs fine.<\/p>\n<pre class=\"toolbar-overlay:false lang:default decode:true\">host perl \/u01\/app\/oracle\/product\/12.1.0\/rdbms\/admin\/catcon.pl -l \/u01\/app\/oracle\/admin\/CDBTEST\/scripts -b catalog \/u01\/app\/oracle\/product\/12.1.0\/rdbms\/admin\/catalog.sql;<\/pre>\n<p>Finally, I&#8217;ll get something familiar, but with a brand new release number! \ud83d\ude42<\/p>\n<pre class=\"toolbar-overlay:false lang:default decode:true\">[oracle@luc12c01 ~]$ sqlplus sys\/*****@classic as sysdba\r\n\r\nSQL*Plus: Release 12.1.0.1.0 Production on Thu May 9 22:36:27 2013\r\n\r\nCopyright (c) 1982, 2013, Oracle. All rights reserved.\r\n\r\nConnected to:\r\nOracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production\r\nWith the Partitioning, Automatic Storage Management, OLAP, Advanced Analytics\r\nand Real Application Testing options<\/pre>\n<p>Stay tuned, I&#8217;ll write soon about some really interesting features of the new Oracle Database 12c!<\/p>\n<p>Cheers<\/p>\n<p>&#8212;<\/p>\n<p>Ludo<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After a long, long wait, Oracle finally announced the availability of his new generation database. And looking at the new features, I think it will take several months before I&#8217;ll learn them all. The impressive number of changes brings me &hellip; <a href=\"https:\/\/www.ludovicocaldara.net\/dba\/oracle-database-12c-finally-out-first-impressions\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[326,3,52,132],"tags":[78,79,76,9,22,75,77],"class_list":["post-280","post","type-post","status-publish","format-standard","hentry","category-oracle","category-oracledb","category-12c","category-triblog","tag-howto","tag-impressions","tag-installation","tag-oracle","tag-oracle-database","tag-oracle-database-12c","tag-released"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":13,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"predecessor-version":[{"id":524,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/posts\/280\/revisions\/524"}],"wp:attachment":[{"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ludovicocaldara.net\/dba\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}