From 780f0402fc30895cfe3d54e4aaa574b05f1807e9 Mon Sep 17 00:00:00 2001 From: hongyedba Date: Thu, 20 Mar 2025 16:16:47 +0800 Subject: [PATCH 1/2] =?UTF-8?q?update(ptk):=20=E5=8F=91=E5=B8=83=E6=96=B0?= =?UTF-8?q?=E7=89=88=E6=9C=AC=20v1.7.7=20=EF=BC=8C=E9=80=82=E9=85=8D?= =?UTF-8?q?=E6=94=AF=E6=8C=81=20MogDB=20v3.0.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- product/en/docs-ptk/v2.0/release-notes/release-17x.md | 6 ++++++ product/zh/docs-ptk/v2.0/release-notes/release-17x.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/product/en/docs-ptk/v2.0/release-notes/release-17x.md b/product/en/docs-ptk/v2.0/release-notes/release-17x.md index f349f95e..686757bc 100644 --- a/product/en/docs-ptk/v2.0/release-notes/release-17x.md +++ b/product/en/docs-ptk/v2.0/release-notes/release-17x.md @@ -7,6 +7,12 @@ date: 2024-08-30 # 1.7 Release Note +## 1.7.7 (2025-03-19) + +**Features** + +- Built-in support for installation and maintenance of MogDB v3.0.8 version + ## 1.7.6 (2025-01-14) **Bug Fixes** diff --git a/product/zh/docs-ptk/v2.0/release-notes/release-17x.md b/product/zh/docs-ptk/v2.0/release-notes/release-17x.md index c8749d01..b1e111ae 100644 --- a/product/zh/docs-ptk/v2.0/release-notes/release-17x.md +++ b/product/zh/docs-ptk/v2.0/release-notes/release-17x.md @@ -7,6 +7,12 @@ date: 2024-08-30 # 1.7 发布记录 +## 1.7.7 (2025-03-19) + +**Features** + +- 内置支持 MogDB v3.0.8 版本的安装维护 + ## 1.7.6 (2025-01-14) **Bug Fixes** -- Gitee From c6814adcf9f8907b3f89d47451c4a2a87138a69c Mon Sep 17 00:00:00 2001 From: hongyedba Date: Thu, 20 Mar 2025 17:08:19 +0800 Subject: [PATCH 2/2] =?UTF-8?q?update(mtk):=20=E5=8F=91=E5=B8=83=E6=96=B0?= =?UTF-8?q?=E7=89=88=E6=9C=AC=20v2.10.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v2.0/config/mtk-parameter-data.md | 17 +++++ .../v2.0/config/mtk-parameter-overview.md | 1 + .../en/docs-mtk/v2.0/releases/release-2.10.md | 72 +++++++++++++++++++ .../docs-mtk/v2.0/releases/release-notes.md | 4 ++ .../v2.0/config/mtk-parameter-data.md | 15 ++++ .../v2.0/config/mtk-parameter-overview.md | 1 + .../zh/docs-mtk/v2.0/releases/release-2.10.md | 72 +++++++++++++++++++ .../docs-mtk/v2.0/releases/release-notes.md | 4 ++ 8 files changed, 186 insertions(+) create mode 100644 product/en/docs-mtk/v2.0/releases/release-2.10.md create mode 100644 product/zh/docs-mtk/v2.0/releases/release-2.10.md diff --git a/product/en/docs-mtk/v2.0/config/mtk-parameter-data.md b/product/en/docs-mtk/v2.0/config/mtk-parameter-data.md index ebddd57d..ad3b0617 100644 --- a/product/en/docs-mtk/v2.0/config/mtk-parameter-data.md +++ b/product/en/docs-mtk/v2.0/config/mtk-parameter-data.md @@ -244,3 +244,20 @@ Only the target database is openGauss/MogDB GBK/GB18030 character set - false **Add**: v2.9.5 + +### removeChar0 + +**Type**: bool + +**Desc**: Indicates whether to remove zero chars (0x00) +For some version (MogDB 5.0.11) allowed to store zero chars (0x00) in the database. +If user want to keep zero chars (0x00), then they must set `removeChar0` to false. + +**Default**: `true` + +**Option**: + +- true +- false + +**Add**: v2.10.0 diff --git a/product/en/docs-mtk/v2.0/config/mtk-parameter-overview.md b/product/en/docs-mtk/v2.0/config/mtk-parameter-overview.md index 3b40995c..3c64c0e7 100644 --- a/product/en/docs-mtk/v2.0/config/mtk-parameter-overview.md +++ b/product/en/docs-mtk/v2.0/config/mtk-parameter-overview.md @@ -87,6 +87,7 @@ Parameter configuration | [convertPackageMethod](./mtk-parameter-plsql.md#convertpackagemethod) |string |plsql |How to migrate Oracle Package to openGauss/MogDB | | [enableAutoAddParenthesesForFunc](./mtk-parameter-plsql.md#enableautoaddparenthesesforfunc) |bool |plsql |Enable automatic conversion, add parentheses to call procedures/function without parameters | | [customFuncTrans](./mtk-parameter-plsql.md#customfunctrans) |[]TranFunc |plsql |Custom conversion PLSQL regular expression. | +| [removeChar0](./mtk-parameter-data.md#removechar0) |bool |data | Indicates whether to remove zero chars (0x00) | Appears in: diff --git a/product/en/docs-mtk/v2.0/releases/release-2.10.md b/product/en/docs-mtk/v2.0/releases/release-2.10.md new file mode 100644 index 00000000..f389068c --- /dev/null +++ b/product/en/docs-mtk/v2.0/releases/release-2.10.md @@ -0,0 +1,72 @@ +--- +title: Release Notes +summary: Release Notes +author: HongyeDBA +date: 2025-03-19 +--- + +# Release 2.10 Notes + +- mtk command line tool +- mtkd mtk background service process. used for specific scenarios + +## v2.10.0 + +2025-03-19 + +### MTK + +- [mtk_2.10.0_windows_amd64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_windows_amd64.tar.gz) +- [mtk_2.10.0_linux_amd64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_linux_amd64.tar.gz) +- [mtk_2.10.0_linux_arm64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_linux_arm64.tar.gz) +- [mtk_2.10.0_darwin_amd64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_darwin_amd64.tar.gz) +- [mtk_2.10.0_darwin_arm64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_darwin_arm64.tar.gz) +- [mtk_2.10.0_linux_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_linux_amd64_db2.tar.gz) +- [mtk_2.10.0_darwin_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_darwin_amd64_db2.tar.gz) +- [mtk_2.10.0_windows_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_windows_amd64_db2.tar.gz) +- [mtk_checksums.txt](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_checksums.txt) + +### MTKD + +- [mtkd_2.10.0_linux_amd64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtkd_2.10.0_linux_amd64.tar.gz) +- [mtkd_2.10.0_linux_arm64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtkd_2.10.0_linux_arm64.tar.gz) +- [mtkd_2.10.0_linux_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtkd_2.10.0_linux_amd64_db2.tar.gz) + +### Bug Fixes + +- **Informix:** varchar col default value include 0x00 issue +- **MTKD:** update config object issue +- **MVD:** mvd report format issue +- **MogDB:** mig sqlserver bit to bool +- **MogDB:** parameter `columnTypeData` missing ColLength issue +- **MogDB:** Mig MySQL Varchar column default `_utf8mb4('no')` issue +- **MogDB:** Mig MySQL varchar col default `\0` issue +- **MySQL:** mig oracle timestamp to datatime default current_timestamp issue +- **MySQL:** query `INFORMATION_SCHEMA.ROUTINES` ROUTINE_DEFINITION issue +- **MySQL:** Mig Oracle Index across table schema issue +- **MySQL:** batch commit issue +- **Oracle:** query dba_segments slow issue +- **Oracle:** Oracle Rowid To other database add default length +- **SQLServer:** show type sql panic issue + +### Code Refactoring + +- for rows.Next declare variables +- checkSchemaExisted +- **MTK:** panic recover issue +- **MTKD:** print listener list +- **MogDB:** add mysql auto_increment desc +- **MySQL:** add connect count check +- **MySQL:** Optimize and query the mysql data dictionary to get connections + +### Features + +- add openGauss 6.0.0 +- add mvd db2 error capture +- **MTK:** add parameter `removeChar0` control to remove \u0000 characters +- **MogDB:** support mig SQlServer user-defined table type +- **MogDB:** Mig SQLServer identity column to sequence +- **MogDB:** Replace SQLServer function set syntax +- **Oracle:** query oracle cons index +- **SQLServer:** table type add col collate collect +- **Sybase:** add sybase 16 support diff --git a/product/en/docs-mtk/v2.0/releases/release-notes.md b/product/en/docs-mtk/v2.0/releases/release-notes.md index a37508c4..b16698b6 100644 --- a/product/en/docs-mtk/v2.0/releases/release-notes.md +++ b/product/en/docs-mtk/v2.0/releases/release-notes.md @@ -13,6 +13,10 @@ date: 2021-09-13 > This tool is in maintenance: no new features will be developed, but existing bugs will be fixed. > Functionality is integrated into the MDB Heterogeneous Migration Synchronization Suite +## 2.10 + +- [2.10.0](./release-2.10.md#2100) + ## 2.9 - [2.9.9](./release-2.9.md#299) diff --git a/product/zh/docs-mtk/v2.0/config/mtk-parameter-data.md b/product/zh/docs-mtk/v2.0/config/mtk-parameter-data.md index a76c4677..3c78b2d0 100644 --- a/product/zh/docs-mtk/v2.0/config/mtk-parameter-data.md +++ b/product/zh/docs-mtk/v2.0/config/mtk-parameter-data.md @@ -233,3 +233,18 @@ Target ColumnName Data Process Example - false **新增于**: v2.9.5 + +### removeChar0 + +**类型**: bool + +**描述**: 标识是否移除数据中的零字符 (0x00)。对于某些版本 (MogDB 5.0.11) 允许在数据库中存储零字符 (0x00),如果用户想保留零字符 (0x00),那么他们必须将 `removeChar0` 参数设置为 false。 + +**默认值**: `true` + +**可选值**: + +- true +- false + +**新增于**: v2.10.0 diff --git a/product/zh/docs-mtk/v2.0/config/mtk-parameter-overview.md b/product/zh/docs-mtk/v2.0/config/mtk-parameter-overview.md index 75ad7542..f859c4b7 100644 --- a/product/zh/docs-mtk/v2.0/config/mtk-parameter-overview.md +++ b/product/zh/docs-mtk/v2.0/config/mtk-parameter-overview.md @@ -87,6 +87,7 @@ date: 2023-11-01 10:06:16 | [convertPackageMethod](./mtk-parameter-plsql.md#convertpackagemethod) |string |plsql |迁移 Oracle Package 到 openGauss/MogDB 的方式 | | [enableAutoAddParenthesesForFunc](./mtk-parameter-plsql.md#enableautoaddparenthesesforfunc) |bool |plsql |开启自动转换无参数调用存储过程增加括号 | | [customFuncTrans](./mtk-parameter-plsql.md#customfunctrans) |[]TranFunc |plsql |自定义转换PLSQL正则表达式. 如迁移Oracle不带括号调用函数内部通过增加此参数来完成改写 | +| [removeChar0](./mtk-parameter-data.md#removechar0) |bool |data | 是否移除数据中的零字符(0x00) | Appears in: diff --git a/product/zh/docs-mtk/v2.0/releases/release-2.10.md b/product/zh/docs-mtk/v2.0/releases/release-2.10.md new file mode 100644 index 00000000..92b44f20 --- /dev/null +++ b/product/zh/docs-mtk/v2.0/releases/release-2.10.md @@ -0,0 +1,72 @@ +--- +title: 发布记录 +summary: 发布记录 +author: HongyeDBA +date: 2025-03-19 +--- + +# Release 2.10 Notes + +- mtk 命令行工具 +- mtkd 封装mtk作为后端服务程序,针对特定场景 + +## v2.10.0 + +2025-03-19 + +### MTK + +- [mtk_2.10.0_windows_amd64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_windows_amd64.tar.gz) +- [mtk_2.10.0_linux_amd64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_linux_amd64.tar.gz) +- [mtk_2.10.0_linux_arm64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_linux_arm64.tar.gz) +- [mtk_2.10.0_darwin_amd64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_darwin_amd64.tar.gz) +- [mtk_2.10.0_darwin_arm64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_darwin_arm64.tar.gz) +- [mtk_2.10.0_linux_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_linux_amd64_db2.tar.gz) +- [mtk_2.10.0_darwin_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_darwin_amd64_db2.tar.gz) +- [mtk_2.10.0_windows_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_2.10.0_windows_amd64_db2.tar.gz) +- [mtk_checksums.txt](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtk_checksums.txt) + +### MTKD + +- [mtkd_2.10.0_linux_amd64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtkd_2.10.0_linux_amd64.tar.gz) +- [mtkd_2.10.0_linux_arm64.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtkd_2.10.0_linux_arm64.tar.gz) +- [mtkd_2.10.0_linux_amd64_db2.tar.gz](https://cdn-mogdb.enmotech.com/mtk/v2.10.0/mtkd_2.10.0_linux_amd64_db2.tar.gz) + +### Bug Fixes + +- **Informix:** 修复 varchar 字段默认值中包含 0x00 的问题 +- **MTKD:** 更新配置文件中的 object 配置问题 +- **MVD:** 修复 mvd 报告格式问题 +- **MogDB:** 将 sqlserver 的 bit 类型迁移为 bool 类型 +- **MogDB:** 修复配置文件中 `columnTypeData` 配置项中缺失 ColLength 值的问题 +- **MogDB:** 修复 MySQL Varchar 字段默认值中 `_utf8mb4('no')` 的问题 +- **MogDB:** 修复 MySQL varchar 字段默认值中 `\0` 的问题 +- **MySQL:** 修复 Oracle timestamp 字段迁移为 MySQL datatime 时默认值 current_timestamp 的问题 +- **MySQL:** 修复系统视图 `INFORMATION_SCHEMA.ROUTINES` 中 ROUTINE_DEFINITION 的查询问题 +- **MySQL:** 修复 Oracle 中跨 schema 的表索引问题 +- **MySQL:** 修复部分场景下批量提交的问题 +- **Oracle:** 修复 dba_segments 视图查询慢的问题 +- **Oracle:** Oracle Rowid 迁移到其他数据库时,增加默认的长度 +- **SQLServer:** 修复 show type sql 执行异常的问题 + +### Code Refactoring + +- 查询结果集获取逻辑优化 +- 重构 Schema 存在性的检查逻辑 +- **MTK:** panic recover issue +- **MTKD:** 打印监听列表 +- **MogDB:** 添加 MySQL auto_increment 的描述信息 +- **MySQL:** 增加连接数检查 +- **MySQL:** 优化 MySQL 数据字典,Optimize and query the mysql data dictionary to get connections + +### Features + +- 新增支持 openGauss 6.0.0 +- 新增 MVD DB2 异常的捕获 +- **MTK:** 新增配置参数 `removeChar0` 控制是否移除 \u0000 字符 +- **MogDB:** 支持迁移 SQlServer 中的用户自定义 table 类型 +- **MogDB:** 将 SQLServer 中的 identity 字段迁移为 MogDB sequence +- **MogDB:** 替换 SQLServer 函数中的 set 语法 +- **Oracle:** 查询 Oracle 约束索引 +- **SQLServer:** table 类型增加字段 collate 采集 +- **Sybase:** 增加 sybase 16 的支持 diff --git a/product/zh/docs-mtk/v2.0/releases/release-notes.md b/product/zh/docs-mtk/v2.0/releases/release-notes.md index 271dd21c..61787e91 100644 --- a/product/zh/docs-mtk/v2.0/releases/release-notes.md +++ b/product/zh/docs-mtk/v2.0/releases/release-notes.md @@ -13,6 +13,10 @@ date: 2021-09-17 > 本工具进入维护期:不再进行新功能研发,但依然会对现有 BUG 进行修复处理。 > 相关功能已整合到 MDB 异构迁移同步套件中 +## 2.10 + +- [2.10.0](./release-2.10.md#2100) + ## 2.9 - [2.9.9](./release-2.9.md#299) -- Gitee