Oracle8i Recovery Manager User's Guide and Reference Release 2 (8.1.6) Part Number A76990-01 |
|
Recovery Manager Command Syntax, 11 of 50
To control the compatibility of the recovery catalog packages with the RMAN executable.
The compatibility level of the recovery catalog is determined by a parameter that is stored in the catalog itself. It specifies the minimum acceptable release of the RMAN executable that can function with the catalog. For example, if the recovery catalog compatibility is set to 8.1.4, then only an RMAN executable of release 8.1.4 or later can connect to the catalog.
The following table illustrates possible compatibility scenarios for a release 8.1.6 RMAN executable and a recovery catalog:
The compatibility level of the catalog is important because it affects the way that repository records are updated and deleted, as explained in the following table:
If you are using the release 8.1.6 RMAN executable and do not intend to use a pre-8.1.6 release against the recovery catalog, then you can raise the compatibility level of the catalog as follows:
configure compatible = 8.1.6;
After you issue this command, RMAN can delete rows from the AL recovery catalog table as archived redo logs are deleted through either the change ... delete command or the backup archivelog ... delete input command. Also, RMAN does not run into problems when attempting to restore archived logs whose records are no longer in the AL table.
catrman.sql
if using a pre-8.1.5 release), and then execute upgrade catalog with the 8.1.6 RMAN.
integer.integer. |
specifies a three-digit Oracle release number, for example, 8.1.6 or 8.0.4. |
This example creates a release 8.1.6 recovery catalog that is compatible with RMAN executables released before 8.1.6. The scenario uses a release 8.1.5 RMAN executable to create the recovery catalog, and a release 8.1.6 RMAN executable to upgrade it:
% rman target / catalog rman/rman@rcat Recovery Manager: Release 8.1.5.0.0 RMAN-06005: connected to target database: RMAN (DBID=1237603294) RMAN-06008: connected to recovery catalog database RMAN> create catalog; RMAN> exit % rman target / catalog rman/rman@rcat Recovery Manager: Release 8.1.6.0.0 RMAN-06005: connected to target database: RMAN (DBID=1237603294) RMAN-06008: connected to recovery catalog database RMAN> upgrade catalog; RMAN> upgrade catalog; RMAN> exit
Assume the previous example, in which you have an 8.1.6 recovery catalog that can function with an 8.1.5 RMAN executable. If you want to specify that this recovery catalog can only function with an 8.1.6 or later release of RMAN, then issue the following:
RMAN> configure compatible = 8.1.6;
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|