您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.
从 Oracle 联机迁移到 Azure DB for PostgreSQL 单服务器时存在的已知问题/迁移限制Known issues/migration limitations with online migrations from Oracle to Azure DB for PostgreSQL-Single server
05/20/2020
本文内容
以下部分描述了在从 Oracle 联机迁移到 Azure Database for PostgreSQL 单服务器时存在的已知问题和限制。Known issues and limitations associated with online migrations from Oracle to Azure Database for PostgreSQL-Single server are described in the following sections.
支持用作源数据库的 Oracle 版本Oracle versions supported as a source database
Azure 数据库迁移服务支持连接到:Azure Database Migration Service supports connecting to:
Oracle 版本 10g、11g 和 12c。Oracle version 10g, 11g, and 12c.
Oracle Enterprise、Standard、Express 和 Personal Edition。Oracle Enterprise, Standard, Express, and Personal Edition.
Azure 数据库迁移服务不支持连接到多租户容器数据库 (CDB)。Azure Database Migration Service doesn't support connecting to multi-tenant container databases (CDBs).
支持用作目标数据库的 PostgreSQL 版本PostgreSQL versions supported as a target database
Azure 数据库迁移服务支持迁移到 Azure Database for PostgreSQL 单服务器版本 9.5、9.6、10 和 11。Azure Database Migration Service supports migrations to Azure Database for PostgreSQL-Single server version 9.5, 9.6, 10 and 11. 请参阅文章支持的 PostgreSQL 数据库版本,以了解有关 Azure Database for PostgreSQL 单服务器中的版本支持的最新信息。See the article Supported PostgreSQL database versions for current information on version support in Azure Database for PostgreSQL-Single server.
数据类型限制Datatype limitations
以下数据类型不会迁移:The following datatypes won't be migrated:
BFILEBFILE
ROWIDROWID
REFREF
UROWIDUROWID
ANYDATAANYDATA
SDO_GEOMETRYSDO_GEOMETRY
嵌套表Nested tables
用户定义数据类型User-defined data types
说明Notes
虚拟列Virtual columns
基于 ROWID 列的具体化视图Materialized views based on ROWID column
此外,空 BLOB/CLOB 列会映射到目标上的 NULL。Also, empty BLOB/CLOB columns are mapped to NULL on the target.
LOB 限制LOB limitations
启用大小受限的 LOB 模式时,Oracle 源上的空 LOB 会作为 NULL 值复制。When Limited-size LOB mode is enabled, empty LOBs on the Oracle source are replicated as NULL values.
不支持长对象名称(超过 30 字节)。Long object names (over 30 bytes) aren't supported.
LONG 和 LONG RAW 列中的数据不能超过 64k。Data in LONG and LONG RAW column can't exceed 64k. 超过 64k 的所有数据都将被截断。Any data beyond 64k will be truncated.
仅在 Oracle 12 中,不支持(迁移)对 LOB 列进行的任何更改。In Oracle 12 only, any changes to LOB columns aren't supported (migrated).
不支持(迁移)对 XMLTYPE 和 LOB 列进行的 UPDATE。UPDATEs to XMLTYPE and LOB columns aren't supported (migrated).
已知问题和限制Known issues and limitations
用户必须具有 Oracle 服务器上的 DBA 权限。The user must have DBA privilege on the Oracle Server.
由于分区/子分区操作(ADD、DROP、EXCHANGE 和 TRUNCATE)导致的数据更改不会迁移,可能会导致以下错误:Data changes resulting from partition/sub-partition operations (ADD, DROP, EXCHANGE, and TRUNCATE) won't be migrated and may cause the following errors:
对于 ADD 操作,已添加数据上的更新和删除操作可能返回“0 行受影响”警告。For ADD operations, updates and deletes on the added data may return a "0 rows affected" warning.
对于 DROP 和 TRUNCATE 操作,新插入可能会导致“重复”错误。For DROP and TRUNCATE operations, new inserts may result in "duplicates" errors.
对于 EXCHANGE 操作,“0 行受影响”警告和“重复”错误可能都会出现。For EXCHANGE operations, both a "0 rows affected" warning and "duplicates" errors may occur.
名称包含撇号的表无法进行复制。Tables whose names contain apostrophes can't be replicated.