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 ebddd57d0dd632f906dcf82244156a1136f6f423..ad3b0617505b91ec7969119c7efeb193db58dcc2 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 3b40995c330085305e45d233028564e6043aa74c..3c64c0e77de983eb635443f71b0f45598297c8e8 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 0000000000000000000000000000000000000000..f389068cf3fa0b9a99305e87981279296971f38e --- /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 a37508c40d20f511c0a573a21110e385fc34517e..b16698b62798279e6930aaa8a98bcbe08bc48e94 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/en/docs-ptk/v2.0/release-notes/release-17x.md b/product/en/docs-ptk/v2.0/release-notes/release-17x.md index f349f95e35c7f94ef9e51e5327c65cefbd3ee861..686757bccbe65941e0455b722feee781e98e5b55 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-mtk/v2.0/config/mtk-parameter-data.md b/product/zh/docs-mtk/v2.0/config/mtk-parameter-data.md index a76c4677ad0e6fc6d76b2585f9823cfc07e55f24..3c78b2d08b1b16c799e7fe55c8ee625f1e2e2c3b 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 75ad7542b47d7064bb23fc66f1f262294b6c513e..f859c4b749594c003d4c9766d43713666daa0045 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 0000000000000000000000000000000000000000..92b44f204f0ed719f2f332033b2daa295f69c013 --- /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 271dd21c4c72c65fe9534ffa046dda589ce8d6e6..61787e91ffa16144cc2c95f8d9f869fe558cc7e8 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) 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 c8749d013bde035dc1a20d3cfbf2cf1dbb74e21a..b1e111ae52b60282eb6e93b86eacd31f1646e316 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**