From 8bf33cff1767d03e9b54489d2471fa3d8788543c Mon Sep 17 00:00:00 2001 From: travelliu Date: Thu, 24 Mar 2022 15:56:34 +0800 Subject: [PATCH] feat(mtk): add oracle package faqs 1. Oracle Package 2. Not define migrate object --- product/en/docs-mtk/v2.0/faqs.md | 17 +++++++++++++++++ product/zh/docs-mtk/v2.0/faqs.md | 14 ++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/product/en/docs-mtk/v2.0/faqs.md b/product/en/docs-mtk/v2.0/faqs.md index ee44b031..d1907223 100644 --- a/product/en/docs-mtk/v2.0/faqs.md +++ b/product/en/docs-mtk/v2.0/faqs.md @@ -72,3 +72,20 @@ However, it cannot be inserted in the postgres class database, and Chr(0) will b - Make sure that the migration server is in the same time zone as the application server. - Make sure that the database nodes are in the same time zone. + +## Slow log explosion during migration ? + +When migrating to MySQL, the MySQL slow log exploded. Migrating to MySQL using Insert multiple records may result in an insertion time greater than the `long_query_time` value and logging to a log file. + +It is recommended to turn off full logging or increase the `long_query_time` during migration. +版本的 package功能 支持存储过程,不支持函数. + +## Oracle Package Migration Processing Plan ? + +Migrating Oracle Package to openGauss/MogDB becomes schema.function/PROCEDURE. + +Existing versions of openGauss have package features that support stored procedures and do not support functions. + +## Not define migrate object ? + +There are no configuration migration objects. please see[Objects](mtk-config#object) diff --git a/product/zh/docs-mtk/v2.0/faqs.md b/product/zh/docs-mtk/v2.0/faqs.md index 97039b57..6376e063 100644 --- a/product/zh/docs-mtk/v2.0/faqs.md +++ b/product/zh/docs-mtk/v2.0/faqs.md @@ -69,3 +69,17 @@ date: 2021-09-14 - 迁移机器和应用服务器时区一致 - 数据库主机时区一致 + +## 迁移过程慢日志暴增 ? + +在迁移到MySQL时,MySQL慢日志暴增. 迁移到MySQL使用Insert多条记录,可能会导致插入时间大于`long_query_time`值并记录到日志文件. 建议在迁移时关掉满日志记录或者把`long_query_time`调大. + +## Oracle 的 Package 迁移处理方案 ? + +Oracle Package 迁移到openGauss/MogDB 会变成 schema.function/PROCEDURE. + +openGauss 现有版本的 package功能 支持存储过程,不支持函数. + +## Not define migrate object ? + +没有配置迁移对象. 请查看[Objects](mtk-config#object) -- Gitee