From 738c947384008c259f41729ae3ad4b65398c6901 Mon Sep 17 00:00:00 2001 From: tianzijian Date: Wed, 3 Apr 2024 18:56:24 +0800 Subject: [PATCH] feat(mdb): release v2.1.0 --- product/en/docs-mdb/v2.0/channel_desc.md | 6 +++++ .../en/docs-mdb/v2.0/releases/release-2.0.md | 25 +++++++++++++++++++ product/zh/docs-mdb/v2.0/channel_desc.md | 6 +++++ .../zh/docs-mdb/v2.0/releases/release-2.0.md | 25 +++++++++++++++++++ 4 files changed, 62 insertions(+) diff --git a/product/en/docs-mdb/v2.0/channel_desc.md b/product/en/docs-mdb/v2.0/channel_desc.md index eed7a02a..a9eabe64 100644 --- a/product/en/docs-mdb/v2.0/channel_desc.md +++ b/product/en/docs-mdb/v2.0/channel_desc.md @@ -182,6 +182,12 @@ In MDB, advanced parameters control the logic of the channel synchronization pro | restrictMode|OFF| Strict mode (available only for tables without primary keys at the source) | | migrationStage| Structure synchronization, full migration, incremental synchronization | control migration phase | | targetObjectCharset|utf8mb4| The target object specifies the character set| +| minKeySplitSize|10240|Minimum Key fragmentation threshold (M). If a table exceeds this threshold, the automatic Key (logical primary key) partitioning algorithm is considered| +| numericDefaultScale|10|Default scale value for DECIMAL default is 10)| +| autoConvertDataType|OFF|Automatically convert reasonable data types| +| autoResolveColMismatch|OFF|Automatically resolves field inconsistency between the source and target ends| +| enableBit1toBool|OFF|Migrate MySQL bit(1) to MogDB bool| +| enableBlob2Blob|false|Switch of BLOB mapping to BLOB data type| ![img](https://cdn-mogdb.enmotech.com/docs-media/mdb/v1.9/img_5.png?x-oss-process=image/resize,w_1000) diff --git a/product/en/docs-mdb/v2.0/releases/release-2.0.md b/product/en/docs-mdb/v2.0/releases/release-2.0.md index d5f32610..8284a63d 100644 --- a/product/en/docs-mdb/v2.0/releases/release-2.0.md +++ b/product/en/docs-mdb/v2.0/releases/release-2.0.md @@ -24,3 +24,28 @@ date: 2024-02-26 - Fixed an issue with automatically cleaning sql errors when resetting objects - Fixed an issue where source DDL had a leading space causing conversion errors + +## v2.1.0(2024.04.03) + +### Features + +- Java version of data verification range extension, support: Oracle, MogDB, MySQL,DB2 +- Supports type mapping that controls the synchronization of BLOBs from other libraries to MogDB. The synchronization can be bytea or blob, which can be controlled by the advanced parameter enableBlob2Blob +- When Oracle Sequence is synchronized to MogDB, if the maximum value of bigint is exceeded, the Oracle Sequence is automatically synchronized to Large Sequence +- Support for generate as synchronization to MogDB Sequence after Oracle 12c +- Supports object export after structure synchronization fails, and batch import and repair of failed objects +- When MySQL is synchronized to MogDB, bit(1) is mapped to bool, which can be controlled by the advanced parameter enableBit1toBool +- Support MogDB to MySQL synchronization, automatically determine whether the line length exceeds the MySQL limit (65535), can be controlled by the advanced parameter autoConvertDataType +- Supports automatic processing of unique value conflicts during incremental data synchronization from MogDB to Oracle/MySQL +- Support for confirming and executing MogDB replication slot creation directly in MDB, as well as automatically performing heartbeat table creation + +### Bug Fixes + +- Optimizes the query logic on the source end of full synchronization, avoiding frequent oom OOM problems during full synchronization +- Fixed an ORA-1461 error that may occur when MogDB is fully synchronized to Oracle in some scenarios +- Fixed an issue where too many links were created in the source database during full synchronization in some scenarios +- Fixed the bool/numeric type problem during the full synchronization from MogDB to MySQL +- Fixed a bit type data value parsing error during incremental synchronization from MySQL to MogDB +- Fixed a data insertion issue caused by a small range of MySQL timestamp types when MogDB was synchronized to MySQL +- Fixed the MySQL to MogDB full synchronous database link reuse issue +- Fixed 0x00 issue caused by NULL value in Batch mode when MySQL was synchronizing to MogDB diff --git a/product/zh/docs-mdb/v2.0/channel_desc.md b/product/zh/docs-mdb/v2.0/channel_desc.md index 0257c984..1449b053 100644 --- a/product/zh/docs-mdb/v2.0/channel_desc.md +++ b/product/zh/docs-mdb/v2.0/channel_desc.md @@ -185,6 +185,12 @@ MDB 将通道内的数据从源节点同步到目标节点。 | restrictMode|OFF|严格模式(仅对源端无主键表有效)| | migrationStage|结构同步,全量迁移,增量同步|控制迁移阶段| | targetObjectCharset|utf8mb4|目标对象指定字符集| +| minKeySplitSize|10240|最小Key分片阈值大小(M),超过此大小限制的表会考虑采用自动Key(逻辑主键)分片算法| +| numericDefaultScale|10|DECIMAL默认的scale值(默认为10)| +| autoConvertDataType|OFF|自动转换合理的数据类型| +| autoResolveColMismatch|OFF|自动解决源端与目标端的字段不一致| +| enableBit1toBool|OFF|控制 MySQL bit(1)迁移为 MogDB bool 类型| +| enableBlob2Blob|false|BLOB映射为BLOB数据类型开关| ​![img](https://cdn-mogdb.enmotech.com/docs-media/mdb/v1.9/img_5.png?x-oss-process=image/resize,w_1000) diff --git a/product/zh/docs-mdb/v2.0/releases/release-2.0.md b/product/zh/docs-mdb/v2.0/releases/release-2.0.md index ac058b63..322f6842 100644 --- a/product/zh/docs-mdb/v2.0/releases/release-2.0.md +++ b/product/zh/docs-mdb/v2.0/releases/release-2.0.md @@ -24,3 +24,28 @@ date: 2024-02-26 - 修复重置对象时自动执行清理sql报错问题 - 修复源DDL存在前置空格导致转换报错的问题 + +## v2.1.0(2024.04.03) + +### Features + +- Java版数据校验范围扩展,支持:Oracle, MogDB, MySQL,DB2 +- 支持控制其他库 BLOB 同步到 MogDB 的类型映射,可同步为 bytea, 也可同步为 blob 类型,可通过高级参数 enableBlob2Blob 控制 +- 支持 Oracle Sequence 同步到 MogDB 时,若超过 bigint 最大值限制,则自动同步为 Large Sequence +- 支持 Oracle 12c 之后的自增列(generate as)同步为 MogDB Sequence +- 支持结构同步失败后的对象导出,以及失败对象的批量导入修复 +- 支持 MySQL 到 MogDB 同步时,bit(1) 映射为 bool 类型,可通过高级参数 enableBit1toBool 控制 +- 支持 MogDB 到 MySQL 同步时,自动判断行长度是否超过 MySQL 限制 (65535),可通过高级参数 autoConvertDataType 控制 +- 支持 MogDB 到 Oracle/MySQL 增量数据同步过程中的唯一值冲突自动处理 +- 支持在 MDB 中直接确认和执行 MogDB 复制槽创建,以及自动执行心跳表创建 + +### Bug Fixes + +- 优化了全量同步源端查询逻辑,避免了全量同步时频繁 oom 的问题 +- 修复了部分场景下 MogDB 到 Oracle 数据全量同步时,可能发生 ORA-1461 报错的问题 +- 修复了部分场景下全量同步过程中,会在源端数据库创建过多链接的问题 +- 修复了 MogDB 到 MySQL 全量同步过程中 bool/numeric 类型问题 +- 修复了 MySQL 到 MogDB 增量同步过程中 bit 类型数据值解析错误的问题 +- 修复了 MogDB 到 MySQL 同步时,MySQL timestamp 类型范围较小导致的数据插入问题 +- 修复了 MySQL 到 MogDB 全量同步数据库链接重用的问题 +- 修复了 MySQL 到 MogDB 同步时,Batch 模式下 NULL 值导致的 0x00 问题 -- Gitee