<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>New-Features-12c on Café Com Cloud</title><link>https://blog.cafecomcloud.com.br/categories/new-features-12c/</link><description>Recent content in New-Features-12c on Café Com Cloud</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 16 Aug 2018 16:54:11 -0300</lastBuildDate><atom:link href="https://blog.cafecomcloud.com.br/categories/new-features-12c/index.xml" rel="self" type="application/rss+xml"/><item><title>Patching an Engineered System</title><link>https://blog.cafecomcloud.com.br/2018/08/16/patching-an-engineered-system/</link><pubDate>Thu, 16 Aug 2018 16:54:11 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2018/08/16/patching-an-engineered-system/</guid><description>&lt;p&gt;Everyone in Oracle DBA world knows the key value of use an Engineered System, such as Exadata or Supercluster.&lt;/p&gt;
&lt;p&gt;In a mission critical on premises database, as a DBA we need to consolidate many databases, plataform in different versions into an Engeneed system.&lt;/p&gt;
&lt;p&gt;In a Engeneered System world we have different types of patch deployment that consists in a group of many other patches for differents versions of databases / applications / system /services. They are called Oracle Engineered Systems Quarterly Patch Deployment (QPD).&lt;/p&gt;
&lt;p&gt;The key advantage of using QPD is stay with best practices patches that was recommeded by Oracle. The QDP are available for download every 4 months and if you have a contract, you can let Oracle apply for you via ACS / platinum contract. More information, you can see in &lt;a class="link" href="https://www.oracle.com/assets/as-quarterly-patch-deployment-3042102.pdf" target="_blank" rel="noopener"
 &gt;https://www.oracle.com/assets/as-quarterly-patch-deployment-3042102.pdf&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Personal experiences on Engineered Systems(Exadata, Supercluster) patch apply&lt;/strong&gt; I have some few experiences on patch apply in many enviroments even Exadata or Supercluster systems.&lt;/p&gt;
&lt;p&gt;First, I always take an exachk. It&amp;rsquo;s extremely important to compare how health your environment are before apply. Always download the last available on MOS &amp;ldquo;Oracle Exadata Database Machine exachk or HealthCheck (Doc ID 1070954.1)&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Second, I recommend this note lecture:&lt;/p&gt;
&lt;p&gt;Exadata Database Machine and Exadata Storage Server Supported Versions (Doc ID 888828.1)&lt;/p&gt;
&lt;p&gt;Oracle SuperCluster Supported Software Versions - All Hardware Types (Doc ID 1567979.1)&lt;/p&gt;
&lt;p&gt;PS. in this notes there are some references to others Engeneered Systems. If you have on your enviroment, please take a look on MOS.&lt;/p&gt;
&lt;p&gt;So before download, as every patch I extremaly recomments read the README of each patch before start (it seems obvious, but I knew many DBAs that don&amp;rsquo;t follow this secret rule) and follow the prechecks as Oracle recommendations such as space, check if there are any conflict with another patch, etc.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Some tips based on my personal experience&lt;/strong&gt; - In most of cases, during patching some errors related by datapatch (on Database apply) occurs. Don&amp;rsquo;t be affraid and take a look at:&lt;/p&gt;
&lt;p&gt;Queryable Patch Inventory - Issues/Solutions for ORA-20001: Latest xml inventory is not loaded into table (Doc ID 1602089.1)&lt;/p&gt;
&lt;p&gt;12.1 : Datapatch Fails with ERROR &amp;ldquo;KUP-04004,KUP-04017,KUP-04118,KUP-04095,ORA-29913&amp;rdquo;,&amp;quot; fatal: libjli.so or libpicl.so.1: open failed&amp;quot; (Doc ID 2085653.1)&lt;/p&gt;
&lt;p&gt;- If you have a segregated environment, always apply patches on DEV or UAT environment.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Examples of database patch apply&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;=====&lt;/p&gt;
&lt;p&gt;Don&amp;rsquo;t be affraid if you get an error. It&amp;rsquo;s happen with everyone:&lt;/p&gt;
&lt;p&gt;./datapatch -verbose SQL Patching tool version 12.1.0.2.0 Production on Thu Aug 16 14:39:41 2018 Copyright (c) 2012, 2017, Oracle. All rights reserved.&lt;/p&gt;
&lt;p&gt;Log file for this invocation: /u01/app/grid/cfgtoollogs/sqlpatch/sqlpatch_2278_2018_08_16_14_39_41/sqlpatch_invocation.log&lt;/p&gt;
&lt;p&gt;Connecting to database&amp;hellip;OK Note: Datapatch will only apply or rollback SQL fixes for PDBs that are in an open state, no patches will be applied to closed PDBs. Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation (Doc ID 1585822.1) Bootstrapping registry and package to current versions&amp;hellip;done&lt;/p&gt;
&lt;p&gt;Queryable inventory could not determine the current opatch status. Execute &amp;lsquo;select dbms_sqlpatch.verify_queryable_inventory from dual&amp;rsquo; and/or check the invocation log /u01/app/grid/cfgtoollogs/sqlpatch/sqlpatch_2278_2018_08_16_14_39_41/sqlpatch_invocation.log for the complete error. Prereq check failed, exiting without installing any patches.&lt;/p&gt;
&lt;p&gt;Please refer to MOS Note 1609718.1 and/or the invocation log /u01/app/grid/cfgtoollogs/sqlpatch/sqlpatch_2278_2018_08_16_14_39_41/sqlpatch_invocation.log for information on how to resolve the above errors.&lt;/p&gt;
&lt;p&gt;SQL Patching tool complete on Thu Aug 16 14:39:59 2018&lt;/p&gt;
&lt;p&gt;=====&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s so good when everything was work as design:&lt;/p&gt;
&lt;p&gt;./datapatch -verbose SQL Patching tool version 12.1.0.2.0 Production on Thu Aug 16 14:47:57 2018 Copyright (c) 2012, 2017, Oracle. All rights reserved.&lt;/p&gt;
&lt;p&gt;Log file for this invocation: /u01/app/grid/cfgtoollogs/sqlpatch/sqlpatch_23787_2018_08_16_14_47_57/sqlpatch_invocation.log&lt;/p&gt;
&lt;p&gt;Connecting to database&amp;hellip;OK Note: Datapatch will only apply or rollback SQL fixes for PDBs that are in an open state, no patches will be applied to closed PDBs. Please refer to Note: Datapatch: Database 12c Post Patch SQL Automation (Doc ID 1585822.1) Bootstrapping registry and package to current versions&amp;hellip;done Determining current state&amp;hellip;done&lt;/p&gt;
&lt;p&gt;Current state of SQL patches: Bundle series DBBP: ID 180717 in the binary registry and not installed in any PDB&lt;/p&gt;
&lt;p&gt;Adding patches to installation queue and performing prereq checks&amp;hellip; Installation queue: For the following PDBs: CDB$ROOT PDB$SEED Nothing to roll back The following patches will be applied: 27547374 (DATABASE BUNDLE PATCH 12.1.0.2.180717)&lt;/p&gt;
&lt;p&gt;Installing patches&amp;hellip; Patch installation complete. Total patches installed: 2&lt;/p&gt;
&lt;p&gt;Validating logfiles&amp;hellip; Patch 27547374 apply (pdb CDB$ROOT): SUCCESS logfile: /u01/app/grid/cfgtoollogs/sqlpatch/27547374/22329708/27547374_apply__MGMTDB_CDBROOT_2018Aug16_14_48_44.log (no errors) Patch 27547374 apply (pdb PDB$SEED): SUCCESS logfile: /u01/app/grid/cfgtoollogs/sqlpatch/27547374/22329708/27547374_apply__MGMTDB_PDBSEED_2018Aug16_14_52_35.log (no errors) SQL Patching tool complete on Thu Aug 16 14:55:29 2018&lt;/p&gt;
&lt;p&gt;=====&lt;/p&gt;
&lt;p&gt;See you soon! :-)&lt;/p&gt;</description></item><item><title>12c Upgrade Exam - 1z0-060</title><link>https://blog.cafecomcloud.com.br/2017/04/12/12c-upgrade-exam-1z0-060/</link><pubDate>Wed, 12 Apr 2017 13:25:10 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/04/12/12c-upgrade-exam-1z0-060/</guid><description>&lt;p&gt;Today we will describe some impressions about 1z0-060 exam.&lt;/p&gt;
&lt;p&gt;So, for get success in exam, you need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Study hard on 12c architecture (CDB / PDB): how to start/ stop, create, drop, secure, etc.&lt;/li&gt;
&lt;li&gt;Do not believe on dumps answers.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We recommend to do new features course, or have some experience on 12c first - some questions have direct relation with daily DBA tasks.&lt;/p&gt;</description></item><item><title>First impression on 12cR2 Oracle Clusterware install</title><link>https://blog.cafecomcloud.com.br/2017/03/30/first-impression-on-12cr2-oracle-clusterware-install/</link><pubDate>Thu, 30 Mar 2017 15:51:24 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/03/30/first-impression-on-12cr2-oracle-clusterware-install/</guid><description>&lt;p&gt;Today we will gonna discuss about first impression on fresh install of Oracle Clusterware 12cR2 (for database, you could found some considerations &lt;a class="link" href="https://dbdebug.wordpress.com/2017/03/16/first-impression-on-12cr2-install/" target="_blank" rel="noopener"
 &gt;here&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;I install on new Oracle Linux 6.9 on Virtualbox 5.1.18 and I observe some points:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Like database install, the grid software has only one file to download (take care with uncompress the zip file. You need to uncompress on the location that you need to use the cluster software).&lt;/li&gt;
&lt;li&gt;Oracle has added 2 diskgroups types (in 11gR2 its doesn&amp;rsquo;t are present): Flex and Extended (more information you could found &lt;a class="link" href="https://docs.oracle.com/database/122/OSTMG/mirroring-diskgroup-redundancy.htm#OSTMG13711" target="_blank" rel="noopener"
 &gt;here&lt;/a&gt;).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="Screen Shot 2017-03-30 at 14.38.17" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://blog.cafecomcloud.com.br/images/screen-shot-2017-03-30-at-14-38-17.png"&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Pay attention with pre-requisites and space: at least, almost 40 GB was necessary for grid diskgroup if you have less than 4 nodes clusterware.&lt;/li&gt;
&lt;li&gt;Gavin Soorma has upgrade a 12R1 Cluster. If you are planning to upgrade your cluster, consider to read &lt;a class="link" href="http://gavinsoorma.com/2017/03/oracle-12c-release-2-12-2-0-1-0-grid-infrastructure-upgrade/" target="_blank" rel="noopener"
 &gt;this post&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;I install with old way Oracle ASMLIB for test purposes and it&amp;rsquo;s works! :-)&lt;/li&gt;
&lt;li&gt;If you install on graphical mode be aware in unzip the cluster software where ORACLE_HOME grid software resides because you can not change the location of install home, as you could see below:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="Screen Shot 2017-04-12 at 17.44.12" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://blog.cafecomcloud.com.br/images/screen-shot-2017-04-12-at-17-44-12.png"&gt;&lt;/p&gt;
&lt;p&gt;So, I&amp;rsquo;ll perform more tests in this test cluster. So, if you are planning to construct your own test cluster, i recommend:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://oracle-base.com/articles/12c/oracle-db-12cr2-rac-installation-on-oracle-linux-6-using-virtualbox" target="_blank" rel="noopener"
 &gt;Oracle RAC 12cR2 on Linux 6 using VirtualBox, by Oracle Base Tim Hall&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>First impression on 12cR2 database install</title><link>https://blog.cafecomcloud.com.br/2017/03/16/first-impression-on-12cr2-database-install/</link><pubDate>Thu, 16 Mar 2017 16:00:00 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/03/16/first-impression-on-12cr2-database-install/</guid><description>&lt;p&gt;Today I&amp;rsquo;ll describe my first impressions on install the new 12cR2 (available for premises on march 2017) for linux and Solaris.&lt;/p&gt;
&lt;p&gt;Inicially I felt a little bit strange because there are only one file for database and only one for grid install (on other versions since 11gR2, there are 2 files for database and one or more for grid - depends of version that you install).&lt;/p&gt;
&lt;p&gt;So I downloaded and install it on OEL6.8 for study purposes.&lt;/p&gt;
&lt;p&gt;The install process is almost similar than 12cR1 process, except you need more free space to install it (at least 8 GB).&lt;/p&gt;
&lt;p&gt;Other point, when you unzip the single file, keep careful in uncompress on a folder (for organization, because all files will be uncompress in same directory that you are).&lt;/p&gt;
&lt;p&gt;Then  I will keep study and publish some more new features! :-)&lt;/p&gt;</description></item><item><title>Release schedules dates document was updated!!</title><link>https://blog.cafecomcloud.com.br/2017/03/13/release-schedules-dates-document-was-updated/</link><pubDate>Mon, 13 Mar 2017 18:33:13 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/03/13/release-schedules-dates-document-was-updated/</guid><description>&lt;p&gt;Continue Hanganalyze&amp;rsquo;s post: &lt;a class="link" href="https://dbdebug.wordpress.com/2017/03/02/84/" target="_blank" rel="noopener"
 &gt;12.2 on-prem available for download&lt;/a&gt;, we see that realease date document was update on MOS (742060.1).&lt;/p&gt;
&lt;p&gt;Basically Oracle 12.2 was released for cloud (in March 2017 for premises) and 12.2 have been supported until 2021.&lt;/p&gt;
&lt;p&gt;&lt;img alt="roadmap" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://blog.cafecomcloud.com.br/images/roadmap.jpg"&gt;&lt;/p&gt;
&lt;p&gt;So, now it&amp;rsquo;s time to think about and plan to upgrade databases 11.2.0.4 and 12.1.0.2, of course if  application was compatible too! :-)&lt;/p&gt;
&lt;p&gt;Remember, now Oracle Recertification program follow the schedules date (more information you could see in this &lt;a class="link" href="https://www.youtube.com/watch?v=Fk94YhBFZS8" target="_blank" rel="noopener"
 &gt;video&lt;/a&gt;).&lt;/p&gt;</description></item><item><title>To be or not to be (lazy)</title><link>https://blog.cafecomcloud.com.br/2017/03/06/to-be-or-not-to-be-lazy/</link><pubDate>Mon, 06 Mar 2017 20:49:44 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/03/06/to-be-or-not-to-be-lazy/</guid><description>&lt;p&gt;Sometimes you are an Oracle DBA just tired of perform setup ( I like to install everything from scratch&amp;hellip;since oracle 7.3 it was always an adventure for me :) )&lt;/p&gt;
&lt;p&gt;If you only want to download and have fun on some cool new features, a pre-installed ova is the gold medal for you..&lt;/p&gt;
&lt;p&gt;Check out last this Jeff Smith (SQL Developer and lots of fun on his blog)  &lt;a class="link" href="http://www.thatjeffsmith.com/archive/2017/03/oracle-database-12c-release-2-is-now-available-and-so-is-our-new-virtualbox-appliance/" target="_blank" rel="noopener"
 &gt;here.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Its a OVA with 12.2, APEX, SQL Developer and other cool stuff :)&lt;/p&gt;
&lt;p&gt;See you around!&lt;/p&gt;</description></item><item><title>12.2 on-prem available for download</title><link>https://blog.cafecomcloud.com.br/2017/03/02/12.2-on-prem-available-for-download/</link><pubDate>Thu, 02 Mar 2017 20:27:05 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/03/02/12.2-on-prem-available-for-download/</guid><description>&lt;p&gt;Finally :)&lt;/p&gt;
&lt;p&gt;We will post shortly about some cool new features - like online move for non partitioned tables, sharding, v$index_usage_info and more!&lt;/p&gt;
&lt;p&gt;&lt;img alt="12-2\\_its\\_time" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://blog.cafecomcloud.com.br/images/12-2_its_time.jpg"&gt;&lt;/p&gt;
&lt;p&gt;See you around!&lt;/p&gt;</description></item><item><title>Why and Why not use table recover - Oracle 12c</title><link>https://blog.cafecomcloud.com.br/2017/02/24/why-and-why-not-use-table-recover-oracle-12c/</link><pubDate>Fri, 24 Feb 2017 22:23:53 -0300</pubDate><guid>https://blog.cafecomcloud.com.br/2017/02/24/why-and-why-not-use-table-recover-oracle-12c/</guid><description>&lt;p&gt;Today will gonna discuss about RMAN table recovery, one of new features of Oracle 12c and my personal view of this feature.&lt;/p&gt;
&lt;p&gt;Official documentation you could found &lt;a class="link" href="https://docs.oracle.com/database/121/BRADV/rcmresind.htm#BRADV686" target="_blank" rel="noopener"
 &gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Basically RMAN use the mecanism of Point in Time recovery and automates the way that we can do a recover for a single table. Before Oracle 12c we can do it manually.&lt;/p&gt;
&lt;p&gt;Inside of this mecanism, RMAN create auxiliary instance to perform recovery, get only necessary information: RMAN restore and recover the SYSTEM, SYSAUX, UNDO tablespaces + tablespace where table resides and use a datapump (expdp and impdp - if you configurate to import this on database) to get point-in-time information.&lt;/p&gt;
&lt;p&gt;Why use this mecanism?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Because it permitted to get the old information dropped (accidentally or not for some user, of course if you have the previous backup) without restore all database.&lt;/li&gt;
&lt;li&gt;It very easy to use: its permitted to recover the information of tape or disk backup based. You only have the information available.&lt;/li&gt;
&lt;li&gt;You can set the recover to import table with another name or just generate a dump.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Why not use this mecanism? (until 12cR1)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you have index associate with required table and this index was on different  tablespace, you can have some trouble.&lt;/li&gt;
&lt;li&gt;You can&amp;rsquo;t configure options like parallelism or exclude index on datapump.&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>