From e0165ff16801b2a3d67bec915549321244a0ef72 Mon Sep 17 00:00:00 2001 From: spaceoddity91719 Date: Wed, 27 Sep 2023 13:31:57 +0800 Subject: [PATCH] update(mogdb):5.0.2 release note --- .../about-mogdb/mogdb-new-feature/5.0.2.md | 55 +++++++++++++++++++ .../mogdb-new-feature/release-note.md | 1 + product/en/docs-mogdb/v5.0/toc.md | 1 + product/en/docs-mogdb/v5.0/toc_about.md | 1 + .../about-mogdb/mogdb-new-feature/5.0.2.md | 55 +++++++++++++++++++ .../mogdb-new-feature/release-note.md | 25 +++++---- product/zh/docs-mogdb/v5.0/toc.md | 1 + product/zh/docs-mogdb/v5.0/toc_about.md | 41 +++++++------- 8 files changed, 148 insertions(+), 32 deletions(-) create mode 100644 product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.2.md create mode 100644 product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.2.md diff --git a/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.2.md b/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.2.md new file mode 100644 index 00000000..8356da22 --- /dev/null +++ b/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.2.md @@ -0,0 +1,55 @@ +--- +title: MogDB 5.0.2 +summary: MogDB 5.0.2 +author: Guo Huan +date: 2023-09-27 +--- + +# MogDB 5.0.2 + +## 1. Version Description + +MogDB 5.0.2 is a patch version of MogDB 5.0.0, which is released on Sep 30 of 2023. It mainly involves some bug fixes based on MogDB 5.0.1. + +
+ +## 2. New Features + +1. The standby node table-level parallel replay performance has doubled. +2. Support binding variables in PL/SQL anonymous blocks within Java code. +3. Added a query function for the original statement when creating views. +4. Added error prompts when importing data that exceeds the database character encoding character set range. +5. Introduced the PageHack and PageInspect tools as new additions. + +
+ +## 3. Fixed Defects + +1. Fixed an issue with incorrect saved view definitions preventing direct creation based on the definition. +2. Fixed an issue where entering safe mode erroneously during index creation prevented the use of temporary tables. +3. Fixed an issue where triggers were causing residual autonomous transactions and leading to crashes. +4. Fixed an issue with the `pg_get_function_result` and `pg_get_function_arguments` functions providing incorrect results for composite type collection queries. +5. Fixed the lengthy failover process issue after a network card was brought down. +6. Fixed an issue of incorrect table selection in hash joins. +7. Fixed an issue of incorrect cost calculations in nest loops leading to suboptimal query plans. +8. Fixed an issue in stored procedures where the `COPY` statement did not display row counts correctly. +9. Fixed an issue of incorrect affected row counts returned when using `MERGE INTO` through ODBC. +10. Fixed an issue where package objects were not displaying the package name in the notice during cascade deletion. +11. Fixed an issue in Dolphin where the `DATE_FORMAT` function could not obtain the weekday value. +12. Fixed the inconsistency issue between the `TO_DAYS` function in Dolphin and MySQL. +13. Fixed the inconsistency problem in Dolphin where the `FIND_IN_SET` function's execution result differed from MySQL. +14. Fixed the error occurring when hints were included in an `INSERT ALL` statement. +15. Fixed the slow query plan generation problem caused by lengthy elements in an `IN` clause for index conditions. +16. Fixed the high memory usage issue caused by enabling the `enable_sql_bypass` parameter. +17. Fixed the error occurring when a constant constant was used as an input parameter for overloaded functions within a package. +18. Fixed the issue where the `gs_is_recycle_obj` function was not exported in version 3.0 of `gs_dump`. +19. Fixed the issue in the `CONNECT BY` functionality where `PRIOR` could not be followed by an expression. +20. Fixed the issue of a failed physical backup caused by an error in the `getppid` system function. + +
+ +## 4. Behavior Change + +| Change Item | Before Upgrade | After Upgrade | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| Installing the dblink plugin requires dependency packages for the environment. | No additional steps are required; you can create extension directly after installing the dblink plugin. | After installing the dblink plugin, you also need to install the libtool package in order to create extension. The installation command is `sudo yum install -y libtool-ltdl-devel`. | diff --git a/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md b/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md index cbd12b79..a610c70d 100644 --- a/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md +++ b/product/en/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md @@ -9,5 +9,6 @@ date: 2022-09-27 | Version | Release Date | Overview | | ------------------- | ------------ | ------------------------------------------------------------ | +| [5.0.2](./5.0.2.md) | 09/30 | MogDB 5.0.2, officially released on September 30, 2023, builds on MogDB 5.0.1 by fixing some bugs and adding some new features. | | [5.0.1](./5.0.1.md) | 08/15 | MogDB 5.0.1, officially released on August 15, 2023, builds on MogDB 5.0.0 by fixing some bugs and adding the feature of decoupling views from their dependencies. | | [5.0.0](./5.0.0.md) | 07/14 | MogDB 5.0.0 was officially released on 07/14/2023. As an LTS release, it is further enhanced based on version 3.0/3.1 and introduces new features from openGauss 5.0.0. | \ No newline at end of file diff --git a/product/en/docs-mogdb/v5.0/toc.md b/product/en/docs-mogdb/v5.0/toc.md index ac3c2815..9650d3c2 100644 --- a/product/en/docs-mogdb/v5.0/toc.md +++ b/product/en/docs-mogdb/v5.0/toc.md @@ -8,6 +8,7 @@ + [MogDB Introduction](/overview.md) + [Comparison Between MogDB and openGauss](/about-mogdb/MogDB-compared-to-openGauss.md) + [MogDB Release Notes](/about-mogdb/mogdb-new-feature/release-note.md) + + [MogDB 5.0.2](/about-mogdb/mogdb-new-feature/5.0.2.md) + [MogDB 5.0.1](/about-mogdb/mogdb-new-feature/5.0.1.md) + [MogDB 5.0.0](/about-mogdb/mogdb-new-feature/5.0.0.md) + [Open Source Components](/about-mogdb/open-source-components/open-source-components.md) diff --git a/product/en/docs-mogdb/v5.0/toc_about.md b/product/en/docs-mogdb/v5.0/toc_about.md index c03ea8a6..8717a8b6 100644 --- a/product/en/docs-mogdb/v5.0/toc_about.md +++ b/product/en/docs-mogdb/v5.0/toc_about.md @@ -7,6 +7,7 @@ + [MogDB Introduction](/overview.md) + [Comparison Between MogDB and openGauss](/about-mogdb/MogDB-compared-to-openGauss.md) + [MogDB Release Notes](/about-mogdb/mogdb-new-feature/release-note.md) + + [MogDB 5.0.2](/about-mogdb/mogdb-new-feature/5.0.2.md) + [MogDB 5.0.1](/about-mogdb/mogdb-new-feature/5.0.1.md) + [MogDB 5.0.0](/about-mogdb/mogdb-new-feature/5.0.0.md) + Open Source Components diff --git a/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.2.md b/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.2.md new file mode 100644 index 00000000..71bb4fe4 --- /dev/null +++ b/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/5.0.2.md @@ -0,0 +1,55 @@ +--- +title: MogDB 5.0.2 +summary: MogDB 5.0.2 +author: Guo Huan +date: 2023-09-27 +--- + +# MogDB 5.0.2 + +## 1. 版本说明 + +MogDB 5.0.2是MogDB 5.0.0的补丁版本,于2023-09-30发布,其在MogDB 5.0.1的基础上新增部分特性,并修复了部分缺陷,内容如下。 + +
+ +## 2. 新增特性 + +1. 备机表级并行回放性能提升1倍 +2. 支持java代码中plsql匿名块绑定变量 +3. 增加了视图创建时原始语句的查询功能 +4. 增加导入超过数据库编码字符集范围的数据时报错提示 +5. 新增pagehack pageinspect工具 + +
+ +## 3. 修复缺陷 + +1. 修复保存的视图定义错误导致无法直接通过定义创建的问题 +2. 修复在创建索引的时候错误进入安全模式导致无法使用临时表的问题 +3. 修复触发器产生残留自治事务后引发宕机的问题 +4. 修复pg_get_function_result和pg_get_function_arguments函数对于复合类型的集合类型查询结果不正确的问题 +5. 修复网卡down掉后进行failover耗时较长的问题 +6. 修复hashjoin中左右表选择错误的问题 +7. 修复nestloop中代价计算错误导致选择较差查询计划的问题 +8. 修复在存储过程中copy语句无法正确显示行数的问题 +9. 修复通过odbc调用merge into返回的影响行数错误问题 +10. 修复级联删除包的时候,notice中包对象不显示包名的问题 +11. 修复dolphin中date_format函数无法获得星期值的问题 +12. 修复dolphin中to_days函数和mysql表现不一致的问题 +13. 修复dolphin中find_in_set函数执行结果和mysql不一致的问题 +14. 修复在insert all中包含hint会报错的问题 +15. 修复当索引条件为in子句且元素过长导致的生成查询计划较慢的问题 +16. 修复打开enable_sql_bypass参数导致的内存占用过高的问题 +17. 修复在package内,如果constant常量作为重载函数的入参会报错的问题 +18. 修复在3.0中gs_dump的gs_is_recycle_obj函数未导出的问题 +19. 修复connectby功能中prior后不能跟表达式的问题 +20. 修复系统函数getppid报错导致的物理备份失败的问题 + +
+ +## 4. 行为变更 + +| 行为 | 变更前 | 变更后 | +| ------------------------ | ------------------------------------------ | ------------------------------------------------------------ | +| dblink插件安装环境依赖包 | 无需额外操作,安装dblink插件后可直接创建。 | 安装dblink插件后还需安装libtool软件包才可创建。安装指令为`sudo yum install -y libtool-ltdl-devel` | diff --git a/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md b/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md index d4f6911f..39eccad7 100644 --- a/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md +++ b/product/zh/docs-mogdb/v5.0/about-mogdb/mogdb-new-feature/release-note.md @@ -1,13 +1,14 @@ ---- -title: 发布说明 -summary: 发布说明 -author: Guo Huan -date: 2022-09-27 ---- - -# 发布说明 - -| 版本 | 发布日期 | 概述 | -| ------------------- | -------- | ------------------------------------------------------------ | -| [5.0.1](./5.0.1.md) | 08/15 | MogDB 5.0.1版本于2023年08月15日正式发布,在MogDB 5.0.0的基础上修复了部分缺陷,并新增视图与其依赖项解耦的特性。 | +--- +title: 发布说明 +summary: 发布说明 +author: Guo Huan +date: 2022-09-27 +--- + +# 发布说明 + +| 版本 | 发布日期 | 概述 | +| ------------------- | -------- | ------------------------------------------------------------ | +| [5.0.2](./5.0.2.md) | 09/30 | MogDB 5.0.2版本于2023年09月30日正式发布,其在MogDB 5.0.2的基础上新增部分特性,并修复了部分缺陷。 | +| [5.0.1](./5.0.1.md) | 08/15 | MogDB 5.0.1版本于2023年08月15日正式发布,在MogDB 5.0.0的基础上修复了部分缺陷,并新增视图与其依赖项解耦的特性。 | | [5.0.0](./5.0.0.md) | 07/14 | MogDB 5.0.0版本于2023年07月14日正式发布。作为LTS版本,基于3.0/3.1版本进一步增强,并引入了openGauss 5.0.0版本的新增特性。 | \ No newline at end of file diff --git a/product/zh/docs-mogdb/v5.0/toc.md b/product/zh/docs-mogdb/v5.0/toc.md index 6f073254..fde0f2a9 100644 --- a/product/zh/docs-mogdb/v5.0/toc.md +++ b/product/zh/docs-mogdb/v5.0/toc.md @@ -8,6 +8,7 @@ + [MogDB简介](/overview.md) + [MogDB与openGauss](/about-mogdb/MogDB-compared-to-openGauss.md) + [MogDB发布说明](/about-mogdb/mogdb-new-feature/release-note.md) + + [MogDB 5.0.2](/about-mogdb/mogdb-new-feature/5.0.2.md) + [MogDB 5.0.1](/about-mogdb/mogdb-new-feature/5.0.1.md) + [MogDB 5.0.0](/about-mogdb/mogdb-new-feature/5.0.0.md) + [开源组件](/about-mogdb/open-source-components/open-source-components.md) diff --git a/product/zh/docs-mogdb/v5.0/toc_about.md b/product/zh/docs-mogdb/v5.0/toc_about.md index c3116739..64ecbf88 100644 --- a/product/zh/docs-mogdb/v5.0/toc_about.md +++ b/product/zh/docs-mogdb/v5.0/toc_about.md @@ -1,20 +1,21 @@ - - - -# MogDB Documentation 5.0 - -## 关于MogDB - -+ [MogDB简介](/overview.md) -+ [MogDB与openGauss](/about-mogdb/MogDB-compared-to-openGauss.md) -+ [MogDB发布说明](/about-mogdb/mogdb-new-feature/release-note.md) - + [MogDB 5.0.1](/about-mogdb/mogdb-new-feature/5.0.1.md) - + [MogDB 5.0.0](/about-mogdb/mogdb-new-feature/5.0.0.md) -+ [开源组件](/about-mogdb/open-source-components/open-source-components.md) - + [容器版本的MogDB](/about-mogdb/open-source-components/2-docker-based-mogdb.md) - + [compat-tools](/about-mogdb/open-source-components/compat-tools.md) - + [mogdb-monitor](/about-mogdb/open-source-components/mogdb-monitor.md) - + [mog_filedump](/about-mogdb/open-source-components/mog_filedump.md) - + [mog_xlogdump](/about-mogdb/open-source-components/mog_xlogdump.md) -+ [使用限制](/about-mogdb/usage-limitations.md) -+ [法律声明](/about-mogdb/terms-of-use.md) + + + +# MogDB Documentation 5.0 + +## 关于MogDB + ++ [MogDB简介](/overview.md) ++ [MogDB与openGauss](/about-mogdb/MogDB-compared-to-openGauss.md) ++ [MogDB发布说明](/about-mogdb/mogdb-new-feature/release-note.md) + + [MogDB 5.0.2](/about-mogdb/mogdb-new-feature/5.0.2.md) + + [MogDB 5.0.1](/about-mogdb/mogdb-new-feature/5.0.1.md) + + [MogDB 5.0.0](/about-mogdb/mogdb-new-feature/5.0.0.md) ++ [开源组件](/about-mogdb/open-source-components/open-source-components.md) + + [容器版本的MogDB](/about-mogdb/open-source-components/2-docker-based-mogdb.md) + + [compat-tools](/about-mogdb/open-source-components/compat-tools.md) + + [mogdb-monitor](/about-mogdb/open-source-components/mogdb-monitor.md) + + [mog_filedump](/about-mogdb/open-source-components/mog_filedump.md) + + [mog_xlogdump](/about-mogdb/open-source-components/mog_xlogdump.md) ++ [使用限制](/about-mogdb/usage-limitations.md) ++ [法律声明](/about-mogdb/terms-of-use.md) -- Gitee