暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

基于ARM架构部署Oracle 19c数据库

数据最前线 2023-06-30
576

628日,Oracle在官方博客上宣布,Oracle数据库长期支持版19C19.19开始支持ARM架构(Oracle Announces Oracle Database for Arm Architectures in the Cloud & On-Premises)Oracle已经在其数据库云服务OCI上基于Ampere® Altra® 处理器构建了计算实例供客户购买,同时也能够支持基于ARM服务器的本地部署。

环境需求

和其他系统上的部署类似,OracleARM平台上部署也需要具备一定的前提条件:

  • 硬件:Oracle 19c     Linux for ARM (aarch64) 需要CPU具有Neoverse N1能力,Oracle推荐使用Ampere Altra 或者 Ampere Altra     Max CPU

  • 操作系统:Oracle Linux     8.6 with Unbreakable Enterprise Kernel 7: 5.15.0-6.80.3.1.el8uek.aarch64 或以上版本

  • Oracle数据库版本:Oracle 19.19及以上版本


为了安装ARM环境下的Oracle数据库,操作系统也有一些环境要求:

运行程序

支持需求

Java Database Connectivity (JDBC) JDBC Oracle Call Interface (JDBC  OCI)

JDK 8 (Java SE Development Kit) with the JNDI extension with Oracle  Java Database Connectivity.

Oracle Call Interface (OCI)

Oracle C++ Call Interface

Pro*C/C++

The GNU C and C++ compilers listed in this table.

Oracle C++ Call Interface (OCCI) applications can be built with g++  used with the standard template libraries of the gcc compilers listed  in this table.

gcc compiler packages

Install the latest released versions of the gcc packages listed  here.

gcc
 gcc-c++

Oracle XML Developer's Kit (XDK)

Oracle XML Developer's Kit is supported with the same compilers as  OCCI.


使用限制

作为第一个支持ARM架构的Oracle数据库,也仍然存在一些限制,以下的产品在Linux for ARM (aarch64) for Oracle Database 19c环境中不支持:

  • PLSQL     Just-in-Time Compiler (JIT)

  • JAVAVM JIT

  • Oracle Cluster     File System (OCFS2)

  • Oracle ASM     Filter Driver (Oracle ASMFD)

  • Oracle Database     Gateways (PG4APPC and PG4MQ)

  • Oracle Machine     Learning for Python (OML4PY)

  • Oracle Database     backups to Zero Data Loss Recovery Appliance (ZDLRA)

  • Pro*COBOL

  • Pro*FORTRAN

  • Oracle     Messaging Gateway (MGW)

  • Oracle ASM     library (Oracle ASMLIB)

  • DBnest

  • Oracle Big Data     SQL

  • Oracle R

  • Oracle Machine     Learning for R (OML4R)


以下的场景在Linux for ARM (aarch64) for Oracle Database 19c环境中没有得到测试验证,可能会存在不确定性,建议选择需要使用该功能的客户谨慎使用基于ARM架构的Oracle 19C数据库。

  • Oracle Grid     Infrastructure and Oracle RAC via standard IPv6 address notations.

  • The use of     Dynamic Host Configuration Protocol (DHCP) for the VIP addresses and the     Single Client Access Name (SCAN) address for Oracle Grid Infrastructure     using Grid Naming Service (GNS).


数据迁移

使用Transportable Tablespaces (TTS)将数据从传统架构(Linux x86-64 and Microsoft Windows x64)19c数据库迁移到Linux for ARM架构的19c数据库,仅支持简化schema模式。更多复杂的模式可能会遇到保护列相关的问题和其他问题。

跨平台表空间迁移(Cross platform transportable tablespace),仅支持从源为Linux x86-64 Microsoft Windows x64到目标为Linux for ARM (aarch64)的迁移,并且要求源端和目标端的大版本和RU均相同。比如从源端版本19.19 RU (Linux x86-64 and Microsoft Windows x64) 到目标版本19.19 Linux for ARM (aarch64)。

相关Bug

Open Bugs for Linux for ARM (aarch64) for Oracle Database 19c,这几个Bug主要和安装部署有关。

·Bug 34398211
·Bug 34501504
·Bug 34485708
·Bug 35386579


一直以来ARM都被认为只能用于中低端的场景,如今Oracle开始支持ARM架构,将会是ARM架构生态的一个分水岭,未来必然会有更多的应用和厂商支持ARM。



文章转载自数据最前线,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论