Oracle逻辑备库异构平台支持列表

2024年 5月 27日 70.2k 0

关于oracle逻辑备库支持的OS平台列表,以及oracle DG主备版本支持情况,通过参考oracle 官方文档来做个整理总结,希望能帮到大家。

一.Oracle逻辑备库异构平台支持列表

oracle DG是否异构是通过platform_id来判断,通过查询v$database可以得到当前数据库主机的platform_id

SQL> select platform_id, platform_name from v$database;PLATFORM_ID PLATFORM_NAME----------- ----------------------------------------         13 Linux x86 64-bit         

截止到最新的oracle23ai,oracle支持列表中的platform_id一共23个

Oracle 11G共 21个

Oracle 19C增加22 Linux OS (S64) (应该是IBM S系统大机平台)

Oracle 23C增加23 Linux OS (AARCH64) (ARM架构)

ps:理论上信创OS都是不支持的,至少在官方列表里是没有的

SQL> select * from V$TRANSPORTABLE_PLATFORM order by 1;PLATFORM_ID PLATFORM_NAME ENDIAN_FORMAT CON_ID----------- ---------------------------------------- -------------- ---------- 1 Solaris[tm] OE (32-bit) Big 0 2 Solaris[tm] OE (64-bit) Big 0 3 HP-UX (64-bit) Big 0 4 HP-UX IA (64-bit) Big 0 5 HP Tru64 UNIX Little 0 6 AIX-Based Systems (64-bit) Big 0 7 Microsoft Windows IA (32-bit) Little 0 8 Microsoft Windows IA (64-bit) Little 0 9 IBM zSeries Based Linux Big 0 10 Linux IA (32-bit) Little 0 11 Linux IA (64-bit) Little 0PLATFORM_ID PLATFORM_NAME ENDIAN_FORMAT CON_ID----------- ---------------------------------------- -------------- ---------- 12 Microsoft Windows x86 64-bit Little 0 13 Linux x86 64-bit Little 0 15 HP Open VMS Little 0 16 Apple Mac OS Big 0 17 Solaris Operating System (x86) Little 0 18 IBM Power Based Linux Big 0 19 HP IA Open VMS Little 0 20 Solaris Operating System (x86-64) Little 0 21 Apple Mac OS (x86-64) Little 0 22 Linux OS (S64) Big 0 23 Linux OS (AARCH64) Little 022 rows selected.

主库platform_id和对应支持的备库platform_id列表

PLATFORM_ID PLATFORM_NAME
Release name
PLATFORM_IDs supported within the same Data Guard configuration when using Data Guard SQL Apply (Logical Standby)
2 Solaris[tm] OE (64-bit)
Solaris Operating System (SPARC) (64-bit)
2
3 HP-UX (64-bit)
HP-UX PA-RISC
3, 4
4 HP-UX IA (64-bit)
HP-UX Itanium
3, 4
5 HP Tru64 UNIX
HP Tru64 UNIX
5
6 AIX-Based Systems (64-bit)
AIX5L
6
7 Microsoft Windows (32-bit)
Microsoft Windows (x86)
7
10 requires patch for Bug 13104881
8, 12 - Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.
8 Microsoft Windows IA (64-bit)
Microsoft Windows (64-bit Itanium)
7 - Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.
8, 12
11, 13, both require patch for Bug 13104881
9 IBM zSeries Based Linux
z/Linux
9
10 Linux (32-bit)
Linux x86
7, requires patch for Bug 13104881
10
11, 13 - Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.
11 Linux IA (64-bit)
Linux Itanium
10 - Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.
8, requires patch for Bug 13104881
11, 13
12 Microsoft Windows 64-bit for AMD
Microsoft Windows (x86-64)
7 - from Oracle 11g onward.  Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.
8, 12
13 Linux 64-bit for AMD
Linux x86-64
10 - Replication can only occur from a 32-bit primary to a 64-bit standby, once a role transition has promoted the 64-bit system to the primary role, the original 32-bit primary is not supported as a standby database.
8, requires patch for Bug 13104881
11, 13
15 HP Open VMS
HP OpenVMS Alpha
HP IA OpenVMS
OpenVMS Itanium
15
16 Apple Mac OS
Mac OS X Server
16
17 Solaris Operating System (x86)
Solaris Operating System (x86)
17
18 IBM Power Based Linux
Linux on Power
18
20 Solaris Operating System (AMD64)
Solaris Operating System (x86-64)
20

Unix和IBM Z(大机)系列不用看,基本上只支持相同的PLATFORM_ID,关键看粗字体部分,也就是windows和linux支持的部分,从支持列表看 互有支持,理论上是可以做 linux和windows之间的跨平台逻辑备库,具体实施时可以查询主备平台和platform id和对照该列表;跨平台逻辑备库的支持依赖于RMAN的跨平台支持。

RMAN支持的跨平台备份恢复OS列表

对于Oracle Database 10g第2版及以上版本:

  • Solaris x86-64 Linux x86-64

  • HP-PA HP-IA

  • Windows IA (64-bit) / Windows (64-bit Itanium) Windows 64-bit for AMD / Windows (x86-64)

对于Oracle Database 11g第1版及以上版本(需要至少设置为11.1兼容):

  • Linux Windows

    限制:

1.跨平台逻辑DG至少要是oracle 11g以上

2.如果用PLATFORM_ID不同平台搭建DG则不能使用OEM来配置和管理

二.Oracle DG数据库版本支持情况

  • 10.1.0.2 到 10.1.0.3 或更高版本

  • 10.1.0.3 到 10.2.0.2 或更高版本

  • 10.2.0.2 到 10.2.0.4 或更高版本

  • 10.2.0.4 到 11.1.0.6 或更高版本

  • 11.1.0.6 到 11.1.0.7 或更高版本

  • 11.1.0.7 到 11.2.0.1 或更高版本

  • 11.2.0.1 到 11.2.0.2 或更高版本

  • 以此类推,直到当前的 19c 版本

  • 21c 仅支持 CDB,因此主数据库只能是 12.1.0.2 或更高版本,且已采用 CDB 架构。

  • 23c 仅支持 CDB,并且客户端兼容矩阵 207303.1 显示,与 23c 建立连接至少需要 19c 客户端。因此,主数据库必须是 19c 或更高版本。

逻辑备用库

从 10.1.0.3 开始,Data Guard 逻辑备用库用于滚动升级的混合版本支持在较长时间段内是支持的。主数据库的 COMPATIBLE 初始化参数必须与正在升级的 Oracle 软件版本一致,逻辑备用库的 COMPATIBLE 设置必须与主数据库的设置匹配或更高。

物理备用库

在 Oracle Database 11.2.0.1 之前,主数据库和 Data Guard 物理备用库之间的混合版本支持完全不受支持。从 Oracle Database 11.2.0.1 开始,可以配置物理备用库,使其高于主要版本的主数据库,以便进行新硬件的迁移,但在切换到该备用库后,不允许打开数据库,必须立即以正常方式进行升级。此外,从 Oracle Database 11.2.0.1 开始,物理备用库可以在更高的 PSE、CPU 或 PSU 版本下运行,以进行备用优先修补。

参考官方文档

Mixed Oracle Version support with Data Guard Redo Transport Services (Doc ID 785347.1)
Data Guard Support for Heterogeneous Primary and Logical Standbys in Same Data Guard Configuration (Doc ID 1085687.1)
RMAN DUPLICATE/RESTORE/RECOVER Mixed Platform Support (Doc ID 1079563.1)

相关文章

Oracle如何使用授予和撤销权限的语法和示例
Awesome Project: 探索 MatrixOrigin 云原生分布式数据库
下载丨66页PDF,云和恩墨技术通讯(2024年7月刊)
社区版oceanbase安装
Oracle 导出CSV工具-sqluldr2
ETL数据集成丨快速将MySQL数据迁移至Doris数据库

发布评论