{"id":11585,"date":"2018-08-23T10:54:10","date_gmt":"2018-08-23T08:54:10","guid":{"rendered":"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/"},"modified":"2018-08-23T10:54:10","modified_gmt":"2018-08-23T08:54:10","slug":"rman-catalog-upgrade-why-when-and-how","status":"publish","type":"post","link":"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/","title":{"rendered":"RMAN catalog upgrade, why, when and how"},"content":{"rendered":"<p>One of our customer has been initially creating a RMAN catalog on an Oracle database release 12.1.0.2.0 and was now intending to register new Oracle 12.2.0.1.0 databases.<\/p>\n<p>Registering the databases will be failing with errors\u00a0:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1\">PL\/SQL package RCAT.DBMS_RCVCAT version 12.01.00.02 in RCVCAT database is too old\nRMAN-06429: RCVCAT database is not compatible with this version of RMAN\n<\/pre>\n<p><!--more--><\/p>\n<p>The problem is coming from the catalog version that needs to be at least equal or higher than the database version to register. I had been then wondering if we are talking about the version of the catalog database itself or the version of the catalog.<\/p>\n<p>Fortunately, in most of the cases a catalog database upgrade is not needed and a catalog upgrade is enough.<\/p>\n<p>RMAN Compatibility Matrix (Doc ID 73431.1) MOS Note will provide the below compatibility matrix.<\/p>\n<table width=\"747\">\n<tbody>\n<tr>\n<td><strong>Target\/Auxiliary<br \/>\nDatabase<\/strong><\/td>\n<td><strong>RMAN Executable<\/strong><\/td>\n<td><strong>Catalog Database<\/strong><\/td>\n<td><strong>Catalog Schema<\/strong><\/td>\n<\/tr>\n<tr>\n<td>8.1.7.4<\/td>\n<td>8.1.7.4<\/td>\n<td>&gt;=8.1.7 &lt; 12C<\/td>\n<td>8.1.7.4<\/td>\n<\/tr>\n<tr>\n<td>8.1.7.4<\/td>\n<td>8.1.7.4<\/td>\n<td>&gt;=8.1.7 &lt; 12C<\/td>\n<td>&gt;=9.0.1.4<\/td>\n<\/tr>\n<tr>\n<td>9.0.1<\/td>\n<td>9.0.1<\/td>\n<td>&gt;=8.1.7 &lt; 12C<\/td>\n<td>&gt;= RMAN executable<\/td>\n<\/tr>\n<tr>\n<td>9.2.0<\/td>\n<td>&gt;=9.0.1.3 and &lt;= Target database<\/td>\n<td>&gt;=8.1.7 &lt; 12C<\/td>\n<td>&gt;= RMAN executable<\/td>\n<\/tr>\n<tr>\n<td>10.1.0.5<\/td>\n<td>&gt;=10.1.0.5 and &lt;= Target database<\/td>\n<td>&gt;=10.1.0.5<\/td>\n<td>&gt;= RMAN executable<\/td>\n<\/tr>\n<tr>\n<td>10.2.0<\/td>\n<td>&gt;=10.1.0.5 and &lt;= target database<\/td>\n<td>&gt;=10.1.0.5<\/td>\n<td>&gt;= RMAN executable<\/td>\n<\/tr>\n<tr>\n<td>11.1.0<\/td>\n<td>&gt;=10.1.0.5 and &lt;= target database<\/td>\n<td>&gt;=10.2.0.3 (note 1)<\/td>\n<td>&gt;= RMAN executable<\/td>\n<\/tr>\n<tr>\n<td>11.2.0<\/td>\n<td>&gt;=10.1.0.5 and &lt;= target database<\/td>\n<td>&gt;=10.2.0.3 (note 1)<\/td>\n<td>&gt;= RMAN executable<\/td>\n<\/tr>\n<tr>\n<td>&gt;=12.1.0.x<\/td>\n<td>= target database executable<\/td>\n<td>&gt;=10.2.0.3<\/td>\n<td>&gt;= RMAN executable<\/td>\n<\/tr>\n<tr>\n<td>18.1<\/td>\n<td>= target database executable<\/td>\n<td>&gt;=10.2.0.3<\/td>\n<td>&gt;= RMAN executable<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>So, in our case, we will connect from the database to be registered (R12.2.0.1.0) in order to :<\/p>\n<ol>\n<li>Check the release of the catalog\n<pre class=\"brush: actionscript3; gutter: true; first-line: 1; highlight: [9]\">dbiservices@&lt;server_name&gt;:C:Windowssystem32 [DB_NAME] sqlplus &lt;catalog_user&gt;\/&lt;pwd&gt;@&lt;catalog_TNS&gt;\n\nSQL*Plus: Release 12.2.0.1.0 Production on Thu Aug 16 14:50:08 2018\n\nConnected to:\n\nOracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production\n\nSQL&gt; select * from rcver;\n\nVERSION\n\n------------\n\n12.01.00.02<\/pre>\n<\/li>\n<li>Upgrade the catalog version\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: [11,17]\">dbiservices@&lt;server_name&gt;:C:Windowssystem32 [DB_NAME] rman target \/ catalog &lt;catalog_user&gt;\/&lt;pwd&gt;@&lt;catalog_TNS&gt;\n\nRecovery Manager: Release 12.2.0.1.0 - Production on Thu Aug 16 14:52:15 2018\n\nconnected to target database: ARGOSP (DBID=469810750)\n\nconnected to recovery catalog database\n\nPL\/SQL package &lt;catalog_user&gt;.DBMS_RCVCAT version 12.01.00.02. in RCVCAT database is too old\n\nRMAN&gt; upgrade catalog;\n\nrecovery catalog owner is &lt;catalog_user&gt;\n\nenter UPGRADE CATALOG command again to confirm catalog upgrade\n\nRMAN&gt; upgrade catalog;\n\nrecovery catalog upgraded to version 12.02.00.01\n\nDBMS_RCVMAN package upgraded to version 12.02.00.01\n\nDBMS_RCVCAT package upgraded to version 12.02.00.01.<\/pre>\n<\/li>\n<li>Check the release of the catalog<\/li>\n<\/ol>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: [9]\">dbiservices@&lt;server_name&gt;:C:Windowssystem32 [DB_NAME] sqlplus &lt;catalog_user&gt;\/&lt;pwd&gt;@&lt;catalog_TNS&gt;\n\nSQL*Plus: Release 12.2.0.1.0 Production on Thu Aug 16 14:50:08 2018\n\nConnected to:\n\nOracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit Production\n\nSQL&gt; select * from rcver;\n\nVERSION\n\n------------\n\n12.02.00.01<\/pre>\n<p>&nbsp;<\/p>\n<p>Database registration will then be successful:<\/p>\n<pre class=\"brush: sql; gutter: true; first-line: 1; highlight: [1]\">RMAN&gt; register database;\n\ndatabase registered in recovery catalog\n\nstarting full resync of recovery catalog\n\nfull resync complete<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>One of our customer has been initially creating a RMAN catalog on an Oracle database release 12.1.0.2.0 and was now intending to register new Oracle 12.2.0.1.0 databases. Registering the databases will be failing with errors\u00a0: PL\/SQL package RCAT.DBMS_RCVCAT version 12.01.00.02 in RCVCAT database is too old RMAN-06429: RCVCAT database is not compatible with this version [&hellip;]<\/p>\n","protected":false},"author":48,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[229,59],"tags":[1444,280,96,988,270,219],"type_dbi":[],"class_list":["post-11585","post","type-post","status-publish","format-standard","hentry","category-database-administration-monitoring","category-oracle","tag-catalog","tag-database","tag-oracle","tag-oracle-12-2","tag-rman","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>RMAN catalog upgrade, why, when and how - dbi Blog<\/title>\n<meta name=\"description\" content=\"This blog will describe and clarify why, when and how to upgrade a RMAN catalog\" \/>\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\/rman-catalog-upgrade-why-when-and-how\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"RMAN catalog upgrade, why, when and how\" \/>\n<meta property=\"og:description\" content=\"This blog will describe and clarify why, when and how to upgrade a RMAN catalog\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/\" \/>\n<meta property=\"og:site_name\" content=\"dbi Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-23T08:54:10+00:00\" \/>\n<meta name=\"author\" content=\"Marc Wagner\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Marc Wagner\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 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\/rman-catalog-upgrade-why-when-and-how\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/\"},\"author\":{\"name\":\"Marc Wagner\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/225d9884b8467ead9a872823acb14628\"},\"headline\":\"RMAN catalog upgrade, why, when and how\",\"datePublished\":\"2018-08-23T08:54:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/\"},\"wordCount\":245,\"commentCount\":0,\"keywords\":[\"catalog\",\"database\",\"Oracle\",\"Oracle 12.2\",\"RMAN\",\"Upgrade\"],\"articleSection\":[\"Database Administration &amp; Monitoring\",\"Oracle\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/\",\"url\":\"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/\",\"name\":\"RMAN catalog upgrade, why, when and how - dbi Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#website\"},\"datePublished\":\"2018-08-23T08:54:10+00:00\",\"author\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/225d9884b8467ead9a872823acb14628\"},\"description\":\"This blog will describe and clarify why, when and how to upgrade a RMAN catalog\",\"breadcrumb\":{\"@id\":\"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\/\/www.dbi-services.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"RMAN catalog upgrade, why, when and how\"}]},{\"@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\/225d9884b8467ead9a872823acb14628\",\"name\":\"Marc Wagner\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g\",\"caption\":\"Marc Wagner\"},\"url\":\"https:\/\/www.dbi-services.com\/blog\/author\/marc-wagner\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"RMAN catalog upgrade, why, when and how - dbi Blog","description":"This blog will describe and clarify why, when and how to upgrade a RMAN catalog","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\/rman-catalog-upgrade-why-when-and-how\/","og_locale":"en_US","og_type":"article","og_title":"RMAN catalog upgrade, why, when and how","og_description":"This blog will describe and clarify why, when and how to upgrade a RMAN catalog","og_url":"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/","og_site_name":"dbi Blog","article_published_time":"2018-08-23T08:54:10+00:00","author":"Marc Wagner","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Marc Wagner","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/#article","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/"},"author":{"name":"Marc Wagner","@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/225d9884b8467ead9a872823acb14628"},"headline":"RMAN catalog upgrade, why, when and how","datePublished":"2018-08-23T08:54:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/"},"wordCount":245,"commentCount":0,"keywords":["catalog","database","Oracle","Oracle 12.2","RMAN","Upgrade"],"articleSection":["Database Administration &amp; Monitoring","Oracle"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/","url":"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/","name":"RMAN catalog upgrade, why, when and how - dbi Blog","isPartOf":{"@id":"https:\/\/www.dbi-services.com\/blog\/#website"},"datePublished":"2018-08-23T08:54:10+00:00","author":{"@id":"https:\/\/www.dbi-services.com\/blog\/#\/schema\/person\/225d9884b8467ead9a872823acb14628"},"description":"This blog will describe and clarify why, when and how to upgrade a RMAN catalog","breadcrumb":{"@id":"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.dbi-services.com\/blog\/rman-catalog-upgrade-why-when-and-how\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/www.dbi-services.com\/blog\/"},{"@type":"ListItem","position":2,"name":"RMAN catalog upgrade, why, when and how"}]},{"@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\/225d9884b8467ead9a872823acb14628","name":"Marc Wagner","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a873cc6e7fbdbbcbdbcaf5dbded14ad9a77b2ec2c3e03b4d724ed33d35d5f328?s=96&d=mm&r=g","caption":"Marc Wagner"},"url":"https:\/\/www.dbi-services.com\/blog\/author\/marc-wagner\/"}]}},"_links":{"self":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/11585","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\/48"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/comments?post=11585"}],"version-history":[{"count":0,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/posts\/11585\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/media?parent=11585"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/categories?post=11585"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/tags?post=11585"},{"taxonomy":"type","embeddable":true,"href":"https:\/\/www.dbi-services.com\/blog\/wp-json\/wp\/v2\/type_dbi?post=11585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}