rman catalogの互換性を理解する
2258 ワード
数日前にrman catalog互換性について聞かれましたが、catalogのデータベースバージョンはターゲットデータベースバージョンとは異なる影響がありますか?私の概念ではcatalogが存在するデータベースのバージョンはrman catalogの使用に影響しませんが、catalog schemaのバージョンには明確な要求があり、具体的な互換関係については分かりません.MOSを調べてみると「RMAN Compatibility Matrix」というドキュメントがありますが、このドキュメントには3つの基本原則があります. RMAN実行可能ファイルのバージョンはtarget databaseターゲットデータベースのバージョンと一致する必要があります(弱い一致要件)、具体的な合法的な組み合わせは、以下に示す表 のようになります. RMAN catalog schemaバージョンは、RMAN実行可能ファイル(強い一致要件) 以上である必要があります. RMAN catalogはtarget databaseターゲットデータベースに対して後方互換性があり、すなわち、以前のバージョンのターゲットデータベース をサポートする.
使用可能なバージョンの組み合わせ:
Target/Auxiliary Database
RMAN Executable
Catalog Database
Catalog Schema
8.1.7.4
8.1.7.4
>=8.1.7
8.1.7.4
8.1.7.4
8.1.7.4
>=8.1.7
>=9.0.1.4
9.0.1
9.0.1
>=8.1.7
>= RMAN executable
9.2.0
>=9.0.1.3 and <= Target database
>=8.1.7
>= RMAN executable
10.1.0
>=9.0.1.3 and <= Target database
>=9.0.1
>= RMAN executable
10.2.0
>=9.0.1.3 and <= target database
>=9.0.1
>= RMAN executable
11.1.0
>=9.0.1.3 and <= target database
>=10.2.0.3 (note 1)
>= RMAN executable
11.2.0
>=9.0.1.3 and <= target database
>=9.0.1
>= RMAN executable
上の表からtarget databaseを11.1.0とした場合、Bug 6756872-RMAN REGISTER OF 11 G TARGET INTO 10 G CATALOG FAILS WITH ORA-04028を除くと、catalogが存在するデータベースが10.2.0.3より大きいことが要求されるため、catalogが存在するデータベースのバージョンには強い要求はなく、一般的に10 gR 2は互換性を満たすことができる.catalog schemaのバージョンに対して明確な高いバージョンの要求があって、その原因を究明してRMANの使うDBMS_ですRCVMAN内蔵パッケージでは、バージョンに一致するリカバリディレクトリテーブル構造recovery catalog tablesが必要です.このような要件に達しない場合、rman 20299エラーが発生する可能性があります.
使用可能なバージョンの組み合わせ:
Target/Auxiliary Database
RMAN Executable
Catalog Database
Catalog Schema
8.1.7.4
8.1.7.4
>=8.1.7
8.1.7.4
8.1.7.4
8.1.7.4
>=8.1.7
>=9.0.1.4
9.0.1
9.0.1
>=8.1.7
>= RMAN executable
9.2.0
>=9.0.1.3 and <= Target database
>=8.1.7
>= RMAN executable
10.1.0
>=9.0.1.3 and <= Target database
>=9.0.1
>= RMAN executable
10.2.0
>=9.0.1.3 and <= target database
>=9.0.1
>= RMAN executable
11.1.0
>=9.0.1.3 and <= target database
>=10.2.0.3 (note 1)
>= RMAN executable
11.2.0
>=9.0.1.3 and <= target database
>=9.0.1
>= RMAN executable
上の表からtarget databaseを11.1.0とした場合、Bug 6756872-RMAN REGISTER OF 11 G TARGET INTO 10 G CATALOG FAILS WITH ORA-04028を除くと、catalogが存在するデータベースが10.2.0.3より大きいことが要求されるため、catalogが存在するデータベースのバージョンには強い要求はなく、一般的に10 gR 2は互換性を満たすことができる.catalog schemaのバージョンに対して明確な高いバージョンの要求があって、その原因を究明してRMANの使うDBMS_ですRCVMAN内蔵パッケージでは、バージョンに一致するリカバリディレクトリテーブル構造recovery catalog tablesが必要です.このような要件に達しない場合、rman 20299エラーが発生する可能性があります.
[maclean@rh2 ~]$ oerr rman 20299
20299, 1, "DBMS_RCVMAN package not compatible with the recovery catalog"
// *Cause: The version of the recovery catalog tables does not work with this
// version of the DBMS_RCVMAN package.
// *Action: Check that the recovery catalog packages and schema are installed
// correctly. The UPGRADE CATALOG command can be used to upgrade
// the recovery catalog tables and packages to the most current
// version.
//