{"id":9372,"date":"2016-11-20T15:39:11","date_gmt":"2016-11-20T14:39:11","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/"},"modified":"2016-11-20T15:39:11","modified_gmt":"2016-11-20T14:39:11","slug":"12cr2-how-long-to-upgrade-a-pdb","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/","title":{"rendered":"12cR2: How long to upgrade a PDB?"},"content":{"rendered":"<h2>By Franck Pachot<\/h2>\n<p>.<br \/>\nIn the <a href=\"http:\/\/dbi-services.com\/blog\/12cr2-upgrade-by-unplugplug-in-the-oracle-cloud-service\/\" target=\"_blank\" rel=\"noopener noreferrer\">previous post<\/a> I described how simple it is to unplug a PDB and plug it into a newer version CDB. One goal of dictionary separation in the multitenant architecture is to keep system objects on CDB$ROOT only. Knowing that an upgrade does not touch the application metadata and data, does this make PDB upgrade fast as a simple refresh of metadata links?<br \/>\n<!--more--><\/p>\n<h3>CDB$ROOT upgrade<\/h3>\n<p>As a point of comparison I&#8217;ve run an upgrade on an empty CDB from 12.1.0.2 to 12.2.0.1 and here is the summary:<\/p>\n<pre><code>Oracle Database 12.2 Post-Upgrade Status Tool           11-19-2016 14:04:51\n                             [CDB$ROOT]\n&nbsp;\nComponent                               Current         Version  Elapsed Time\nName                                    Status          Number   HH:MM:SS\n&nbsp;\nOracle Server                          UPGRADED      12.2.0.1.0  00:11:19\nJServer JAVA Virtual Machine           UPGRADED      12.2.0.1.0  00:04:29\nOracle Real Application Clusters       UPGRADED      12.2.0.1.0  00:00:00\nOracle Workspace Manager               UPGRADED      12.2.0.1.0  00:00:41\nOLAP Analytic Workspace                UPGRADED      12.2.0.1.0  00:00:14\nOracle OLAP API                        UPGRADED      12.2.0.1.0  00:00:08\nOracle Label Security                  UPGRADED      12.2.0.1.0  00:00:05\nOracle XDK                             UPGRADED      12.2.0.1.0  00:01:01\nOracle Text                            UPGRADED      12.2.0.1.0  00:00:31\nOracle XML Database                    UPGRADED      12.2.0.1.0  00:01:33\nOracle Database Java Packages          UPGRADED      12.2.0.1.0  00:00:07\nOracle Multimedia                      UPGRADED      12.2.0.1.0  00:01:22\nSpatial                                UPGRADED      12.2.0.1.0  00:04:46\nOracle Application Express                VALID     5.0.0.00.31  00:00:02\nOracle Database Vault                  UPGRADED      12.2.0.1.0  00:00:15\nFinal Actions                                                    00:01:50\nPost Upgrade                                                     00:00:12\n&nbsp;\nTotal Upgrade Time: 00:29:17 [CDB$ROOT]\n<\/code><\/pre>\n<p>This was running on a Oracle Public Cloud DBaaS with two OCPUs which means four threads. It&#8217;s about 30 minutes to upgrade the system dictionary and all components.<br \/>\nThose are the times we are used to. Since 12<em>c<\/em> some operations are parallelized to make it faster than in previous versions.<\/p>\n<p>The more components you install, the longer it takes. Even if it is recommended to install all components in a CDB in case a PDB needs it, you may think about this.<\/p>\n<h3>PDB upgrade<\/h3>\n<p>When you plug a PDB, you should not have all this work to do. You can expect that the metadata links and data links just work, now pointing to the new version. At most, a quick check or refresh may be necessary to ensure that object types did not change.<\/p>\n<p>At UKOUG TECH16 in <a href=\"http:\/\/www.tech16.ukoug.org\/default.asp?p=14778&amp;dlgact=shwprs&amp;prs_prsid=11878&amp;day_dayid=108\" target=\"_blank\" rel=\"noopener noreferrer\">12c Multitenant: Not a Revolution, Just an Evolution<\/a> I demo how those links work internally and I show that running a full CATUPGRD.SQL on each container is not required to be run for each object. However, the DBUPGRADE script runs it. Let&#8217;s see if it is optimized for pluggable databases.<\/p>\n<p>In 12.2 the command is easy:<\/p>\n<pre><code>[oracle@HP122A tmp]$ $ORACLE_HOME\/bin\/dbupgrade -c PDB1<\/code><\/pre>\n<p>You can see that it runs the catctl.pl commands that we used in 12.1<\/p>\n<pre><code>Start processing of PDB1\n[\/u01\/app\/oracle\/product\/12.2.0\/dbhome_1\/perl\/bin\/perl \/u01\/app\/oracle\/product\/12.2.0\/dbhome_1\/rdbms\/admin\/catctl.pl -c 'PDB1' -I -i pdb1 -n 2 -l \/home\/oracle \/u01\/app\/oracle\/product\/12.2.0\/dbhome_1\/rdbms\/admin\/catupgrd.sql]<\/code><\/pre>\n<p>Here is what will be run.<\/p>\n<pre><code>Number of Cpus        = 2\nDatabase Name         = HP122A\nDataBase Version      = 12.2.0.1.0\nGenerated PDB Inclusion:[PDB1]\nCDB$ROOT  Open Mode = [OPEN]\nComponents in [PDB1]\n    Installed [APEX APS CATALOG CATJAVA CATPROC CONTEXT DV JAVAVM OLS ORDIM OWM SDO XDB XML XOQ]\nNot Installed [EM MGW ODM RAC WK]<\/code><\/pre>\n<p>Summary is here:<\/p>\n<pre><code>Oracle Database 12.2 Post-Upgrade Status Tool           11-19-2016 15:25:15\n                             [PDB1]\n&nbsp;\nComponent                               Current         Version  Elapsed Time\nName                                    Status          Number   HH:MM:SS\n&nbsp;\nOracle Server                          UPGRADED      12.2.0.1.0  00:08:59\nJServer JAVA Virtual Machine           UPGRADED      12.2.0.1.0  00:02:16\nOracle Real Application Clusters       UPGRADED      12.2.0.1.0  00:00:00\nOracle Workspace Manager               UPGRADED      12.2.0.1.0  00:00:27\nOLAP Analytic Workspace                UPGRADED      12.2.0.1.0  00:00:22\nOracle OLAP API                        UPGRADED      12.2.0.1.0  00:00:07\nOracle Label Security                  UPGRADED      12.2.0.1.0  00:00:03\nOracle XDK                             UPGRADED      12.2.0.1.0  00:00:40\nOracle Text                            UPGRADED      12.2.0.1.0  00:00:18\nOracle XML Database                    UPGRADED      12.2.0.1.0  00:01:25\nOracle Database Java Packages          UPGRADED      12.2.0.1.0  00:00:03\nOracle Multimedia                      UPGRADED      12.2.0.1.0  00:01:13\nOracle Application Express                VALID     5.0.0.00.31  00:00:02\nOracle Database Vault                  UPGRADED      12.2.0.1.0  00:00:40\nFinal Actions                                                    00:01:49\nPost Upgrade                                                     00:01:17\n&nbsp;\nTotal Upgrade Time: 00:23:55 [PDB1]\n&nbsp;\nDatabase time zone version is 18. It is older than current release time\nzone version 26. Time zone upgrade is needed using the DBMS_DST package.\n&nbsp;\nGrand Total Upgrade Time:    [0d:0h:25m:0s]\n<\/code><\/pre>\n<p>When you compare with a CDB$ROOT upgrade the gain is very small. We saved 25% of Oracle Server time. JVM and XDK was x2 faster. But finally, that&#8217;s only 5 minutes.<\/p>\n<p>It is important to understand that the upgrade time depends on the components installed. Here is the percentage of time per component:<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB.png\" alt=\"CapturedbupgradePDB\" width=\"988\" height=\"599\" class=\"alignnone size-full wp-image-12934\" \/><\/a><\/p>\n<p>About the core of the database, what we know as catalog\/catproc, here is the detail showing which phases are run in parallel.<br \/>\nNote that the phase number is important because in 12.2 you can restart a failed upgrade from where it stopped.<\/p>\n<pre><code>\n------------------------------------------------------\nPhases [0-117]         Start Time:[2016_11_19 15:00:37]\nContainer Lists Inclusion:[PDB1] Exclusion:[NONE]\n------------------------------------------------------\n***********   Executing Change Scripts   ***********\nSerial   Phase #:0    [PDB1] Files:1    Time: 36s\n***************   Catalog Core SQL   ***************\nSerial   Phase #:1    [PDB1] Files:5    Time: 39s\nRestart  Phase #:2    [PDB1] Files:1    Time: 1s\n***********   Catalog Tables and Views   ***********\nParallel Phase #:3    [PDB1] Files:19   Time: 23s\nRestart  Phase #:4    [PDB1] Files:1    Time: 0s\n*************   Catalog Final Scripts   ************\nSerial   Phase #:5    [PDB1] Files:6    Time: 15s\n*****************   Catproc Start   ****************\nSerial   Phase #:6    [PDB1] Files:1    Time: 12s\n*****************   Catproc Types   ****************\nSerial   Phase #:7    [PDB1] Files:2    Time: 9s\nRestart  Phase #:8    [PDB1] Files:1    Time: 0s\n****************   Catproc Tables   ****************\nParallel Phase #:9    [PDB1] Files:70   Time: 48s\nRestart  Phase #:10   [PDB1] Files:1    Time: 1s\n*************   Catproc Package Specs   ************\nSerial   Phase #:11   [PDB1] Files:1    Time: 12s\nRestart  Phase #:12   [PDB1] Files:1    Time: 1s\n**************   Catproc Procedures   **************\nParallel Phase #:13   [PDB1] Files:97   Time: 8s\nRestart  Phase #:14   [PDB1] Files:1    Time: 1s\nParallel Phase #:15   [PDB1] Files:118  Time: 11s\nRestart  Phase #:16   [PDB1] Files:1    Time: 1s\nSerial   Phase #:17   [PDB1] Files:13   Time: 3s\nRestart  Phase #:18   [PDB1] Files:1    Time: 1s\n*****************   Catproc Views   ****************\nParallel Phase #:19   [PDB1] Files:33   Time: 25s\nRestart  Phase #:20   [PDB1] Files:1    Time: 0s\nSerial   Phase #:21   [PDB1] Files:3    Time: 8s\nRestart  Phase #:22   [PDB1] Files:1    Time: 1s\nParallel Phase #:23   [PDB1] Files:24   Time: 82s\nRestart  Phase #:24   [PDB1] Files:1    Time: 1s\nParallel Phase #:25   [PDB1] Files:11   Time: 42s\nRestart  Phase #:26   [PDB1] Files:1    Time: 0s\nSerial   Phase #:27   [PDB1] Files:1    Time: 0s\nSerial   Phase #:28   [PDB1] Files:3    Time: 5s\nSerial   Phase #:29   [PDB1] Files:1    Time: 0s\nRestart  Phase #:30   [PDB1] Files:1    Time: 0s\n***************   Catproc CDB Views   **************\nSerial   Phase #:31   [PDB1] Files:1    Time: 2s\nRestart  Phase #:32   [PDB1] Files:1    Time: 1s\nSerial   Phase #:34   [PDB1] Files:1    Time: 0s\n*****************   Catproc PLBs   *****************\nSerial   Phase #:35   [PDB1] Files:283  Time: 17s\nSerial   Phase #:36   [PDB1] Files:1    Time: 0s\nRestart  Phase #:37   [PDB1] Files:1    Time: 0s\nSerial   Phase #:38   [PDB1] Files:1    Time: 3s\nRestart  Phase #:39   [PDB1] Files:1    Time: 1s\n***************   Catproc DataPump   ***************\nSerial   Phase #:40   [PDB1] Files:3    Time: 49s\nRestart  Phase #:41   [PDB1] Files:1    Time: 1s\n******************   Catproc SQL   *****************\nParallel Phase #:42   [PDB1] Files:13   Time: 51s\nRestart  Phase #:43   [PDB1] Files:1    Time: 0s\nParallel Phase #:44   [PDB1] Files:12   Time: 8s\nRestart  Phase #:45   [PDB1] Files:1    Time: 1s\nParallel Phase #:46   [PDB1] Files:2    Time: 2s\nRestart  Phase #:47   [PDB1] Files:1    Time: 1s\n*************   Final Catproc scripts   ************\nSerial   Phase #:48   [PDB1] Files:1    Time: 5s\nRestart  Phase #:49   [PDB1] Files:1    Time: 1s\n**************   Final RDBMS scripts   *************\nSerial   Phase #:50   [PDB1] Files:1    Time: 16s\n<\/code><\/pre>\n<p>In the summary when we compare with a CDB$ROOT upgrade we don&#8217;t see the Spatial part that took 4 minutes but we see it in the detail:<\/p>\n<pre><code>\n*****************   Upgrading SDO   ****************\nRestart  Phase #:81   [PDB1] Files:1    Time: 1s\nSerial   Phase #:83   [PDB1] Files:1    Time: 23s\nSerial   Phase #:84   [PDB1] Files:1    Time: 4s\nRestart  Phase #:85   [PDB1] Files:1    Time: 1s\nSerial   Phase #:86   [PDB1] Files:1    Time: 5s\nRestart  Phase #:87   [PDB1] Files:1    Time: 0s\nParallel Phase #:88   [PDB1] Files:3    Time: 110s\nRestart  Phase #:89   [PDB1] Files:1    Time: 0s\nSerial   Phase #:90   [PDB1] Files:1    Time: 4s\nRestart  Phase #:91   [PDB1] Files:1    Time: 1s\nSerial   Phase #:92   [PDB1] Files:1    Time: 4s\nRestart  Phase #:93   [PDB1] Files:1    Time: 0s\nParallel Phase #:94   [PDB1] Files:4    Time: 30s\nRestart  Phase #:95   [PDB1] Files:1    Time: 0s\nSerial   Phase #:96   [PDB1] Files:1    Time: 3s\nRestart  Phase #:97   [PDB1] Files:1    Time: 1s\nSerial   Phase #:98   [PDB1] Files:1    Time: 22s\nRestart  Phase #:99   [PDB1] Files:1    Time: 0s\nSerial   Phase #:100  [PDB1] Files:1    Time: 3s\nRestart  Phase #:101  [PDB1] Files:1    Time: 1s\nSerial   Phase #:102  [PDB1] Files:1    Time: 2s\nRestart  Phase #:103  [PDB1] Files:1    Time: 1s\n<\/code><\/pre>\n<h3>So what?<\/h3>\n<p>From what we see, the multitenant architecture, with consolidation of the system directory in only one place &#8211; the CDB$ROOT &#8211; we have no gain in upgrade. In the current implementation (12.2.0.1) the same work is done on all containers, with only minimal optimization for pluggable databases where we have metadata links instead of full object metadata.<br \/>\nIn summary:<\/p>\n<ul>\n<li>Upgrading by plug-in or remote clone is faster than upgrading the whole CDB because CDB has more containers, such as PDB$SEED<\/li>\n<li>But upgrading a single PDB, whatever the method is, is not faster than upgrading a non-CDB<\/li>\n<\/ul>\n<p>I&#8217;m talking about upgrade of the container here. Transportable tablespaces\/database is a different thing.<\/p>\n<p>More about the Multitenant internals, dictionary separation, metadata links and data links (was called object links in 12.1) at UKOUG TECH 2016 conference next month.<\/p>\n<p><a href=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CaptureUpgradePres.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CaptureUpgradePres.png\" alt=\"CaptureUpgradePres\" width=\"803\" height=\"452\" class=\"alignnone size-full wp-image-12937\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By Franck Pachot . In the previous post I described how simple it is to unplug a PDB and plug it into a newer version CDB. One goal of dictionary separation in the multitenant architecture is to keep system objects on CDB$ROOT only. Knowing that an upgrade does not touch the application metadata and data, [&hellip;]<\/p>\n","protected":false},"author":27,"featured_media":9375,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229],"tags":[656,220,64,96,209,66,223,219],"type_dbi":[],"class_list":["post-9372","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-database-administration-monitoring","tag-12-2","tag-cdb","tag-multitenant","tag-oracle","tag-oracle-12c","tag-pdb","tag-pluggable-databases","tag-upgrade"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>12cR2: How long to upgrade a PDB? - dbi Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"12cR2: How long to upgrade a PDB?\" \/>\n<meta property=\"og:description\" content=\"By Franck Pachot . In the previous post I described how simple it is to unplug a PDB and plug it into a newer version CDB. One goal of dictionary separation in the multitenant architecture is to keep system objects on CDB$ROOT only. Knowing that an upgrade does not touch the application metadata and data, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-20T14:39:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"988\" \/>\n\t<meta property=\"og:image:height\" content=\"599\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Oracle Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Oracle Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/\"},\"author\":{\"name\":\"Oracle Team\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"headline\":\"12cR2: How long to upgrade a PDB?\",\"datePublished\":\"2016-11-20T14:39:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/\"},\"wordCount\":578,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB-1.png\",\"keywords\":[\"12.2\",\"CDB\",\"multitenant\",\"Oracle\",\"Oracle 12c\",\"PDB\",\"Pluggable Databases\",\"Upgrade\"],\"articleSection\":[\"Database Administration &amp; Monitoring\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/\",\"name\":\"12cR2: How long to upgrade a PDB? - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB-1.png\",\"datePublished\":\"2016-11-20T14:39:11+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#primaryimage\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB-1.png\",\"contentUrl\":\"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB-1.png\",\"width\":988,\"height\":599},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"12cR2: How long to upgrade a PDB?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/\",\"name\":\"dbi Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee\",\"name\":\"Oracle Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g\",\"caption\":\"Oracle Team\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"12cR2: How long to upgrade a PDB? - dbi Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/","og_locale":"en_US","og_type":"article","og_title":"12cR2: How long to upgrade a PDB?","og_description":"By Franck Pachot . In the previous post I described how simple it is to unplug a PDB and plug it into a newer version CDB. One goal of dictionary separation in the multitenant architecture is to keep system objects on CDB$ROOT only. Knowing that an upgrade does not touch the application metadata and data, [&hellip;]","og_url":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/","og_site_name":"dbi Blog","article_published_time":"2016-11-20T14:39:11+00:00","og_image":[{"width":988,"height":599,"url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB-1.png","type":"image\/png"}],"author":"Oracle Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Oracle Team","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/"},"author":{"name":"Oracle Team","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"headline":"12cR2: How long to upgrade a PDB?","datePublished":"2016-11-20T14:39:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/"},"wordCount":578,"commentCount":0,"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB-1.png","keywords":["12.2","CDB","multitenant","Oracle","Oracle 12c","PDB","Pluggable Databases","Upgrade"],"articleSection":["Database Administration &amp; Monitoring"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/","url":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/","name":"12cR2: How long to upgrade a PDB? - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#primaryimage"},"image":{"@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB-1.png","datePublished":"2016-11-20T14:39:11+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee"},"breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#primaryimage","url":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB-1.png","contentUrl":"https:\/\/www.dbi-services.com\/blog\/wp-content\/uploads\/sites\/2\/2022\/04\/CapturedbupgradePDB-1.png","width":988,"height":599},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/12cr2-how-long-to-upgrade-a-pdb\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"12cR2: How long to upgrade a PDB?"}]},{"@type":"WebSite","@id":"https:\/\/www.dbi-services.com\/blog\/#website","url":"https:\/\/www.dbi-services.com\/blog\/","name":"dbi Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dbi-services.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/66ab87129f2d357f09971bc7936a77ee","name":"Oracle Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f711f7cd2c9b09bf2627133755b569fb5be0694810cfd33033bdd095fedba86d?s=96&d=mm&r=g","caption":"Oracle Team"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/oracle-team\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/users\/27"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=9372"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/9372\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media\/9375"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=9372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=9372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=9372"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=9372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}