Credits go to Cameron Hodge, Malcom and Martin Mäs who all highlighted issues to me following my previous entry about RMAN - and sorry for any disappointment but I wasn't aware of all these nice little things.
Ok, you'd upgrade your RMAN Catalog to be ready to backup/recover Oracle Database 22.214.171.124 databases and you see this error:RMAN>
=============== ERROR MESSAGE STACK
ORACLE error from recovery catalog
database: ORA-00439: feature not
Now you start to wonder as your Catalog Database had been an Oracle Standard Edition (SE) database for quite a while - and of course an SE database does not have Partitioning on. And on the side the Oracle Partitioning Option is licensable option.
First of all this new behavior gets introduced with Oracle Database 126.96.36.199. And as far as I know it is not documented in relation to the "upgrade catalog".
The valid workaround leads to a new feature called Infrastructure Repository Database - which is always an EE database without the need for extra licensening as all feature will be used only by Oracle internal mechanisms.
Licensing doc: http://docs.oracle.com/database/121/DBLIC/editions.htm#DBLIC119
Infrastructure Repository Databases
A separate single instance Oracle Database can be
installed and used as an infrastructure repository for
RMAN, Oracle Enterprise Manager Cloud Control,
Automatic Workload Repository (AWR) Warehouse, Global
Data Services Catalog, and Grid Infrastructure
Management Repository without additional license
requirements, provided that all the targets are
correctly licensed. It may not be used or deployed for
The infrastructure repositories for RMAN, Oracle
Enterprise Manager Cloud Control, AWR Warehouse, and
Global Data Services Catalog can be shared in one
database, or deployed in separate databases. Enterprise
Edition must be used for the infrastructure
Furthermore the Recovery Manager documentation mentions this:
and Managing Virtual Private Catalogs with Oracle
Database 12c Release 1
Oracle Database 12c Release 1
(188.8.131.52), virtual private catalogs can be used
only with the Enterprise Edition of the Oracle
Database. This functionality is not supported for
the Standard Edition.
Now this is a bit misleading as most of you won't use the Virtual Private Catalogs - but even though you may not use it still some of the functionality is in your catalog already. And therefore every RMAN catalog beginning with Oracle Database 184.108.40.206 must be hosted in an Enterprise Edition database which does not require an EE license.
The next question is:
How do I migrate my catalog into an EE database?
There are two options whereas I'd prefer the one mentioned in the RMAN documentation:
- Import the RMAN catalog
- Migrate your database to become an EE
And there are more things to mention:
- DBMS_LOB package must be present
- UTL_HTTP must be present
To summarize to successfully upgrade your RMAN catalog:
- You need to execute this script before upgrading the catalog:
- Your database hosting the RMAN Catalog beginning with Oracle 220.127.116.11:
- Must be an Enterprise Edition database - no EE license required
- Oracle Partitioning Option must be installed - no Partitioning lincese required
- DBMS_LOB and UTL_HTTP packages must be present
PS: Credits for this addition go to Malcom!!! In addition to RMAN Catalog Database now requiring to be in an EE database this database will require the Partitioning Option linked in as well. See MOS Note:1927265.1