
评审结论详情:https://etherpad.opengauss.org/p/Tools-meetings 议题申报: 1. 【迁移工具】MySQL迁移工具适配内核兼容性设计方案评审(窦欣) 会议结论: - 议题1. 【迁移工具】MySQL迁移工具适配内核兼容性设计方案评审(窦欣) 评审建议: (1)验证增量迁移执行create user语句时,binlog是否含有grant权限相关的语句 (2)海量需求支持字段大小写敏感合入后,验证大小写功能是否一致 (3)autoincrement内核已适配 (4)验证时间类型是否可为0000-00-00,或者全0表示 (5)关于迁移报错处理流程: create/alter table相关报错,会影响后续dml操作,因此报错后走正常退出流程; 存储过程、视图等迁移报错不影响dml操作,因此写入错误日志中,不终止迁移过程。 (6)针对数据库版本和工具版本的配套使用问题: 所有工具(包括迁移和校验),在启动时校验数据库版本和工具版本的匹配问题,若不满足数据库版本>=工具版本,则工具退出,不执行后续的迁移校验流程。 (7)sql_mode等相关参数要求用户迁移前设置与mysql保持一致 B库下建议打开的参数: dolphin.b_compatibility_mode = on; enable_set_variable_b_format=on; 其中b_compatibility_mode 控制了很多函数、操作符的表现和mysql兼容,建议打开,enable_set_variable_b_format 用于支持 set @var=1; 自定义变量,在存储过程、函数、trigger等场景可能被大量使用,建议打开 dolphin.sql_mode 和 mysql 的sql_mode 的映射关系如下: sql_mode_strict -> STRICT_TRANS_TABLES sql_mode_full_group -> ONLY_FULL_GROUP_BY pipes_as_concat ->pipes_as_concat ansi_quotes ->ansi_quotes no_zero_date -> no_zero_date 没列出来的sql mode都是不支持的 dolphin插件需增加的功能: (1)mysql中参数lower_case_table_names用于控制库表名的大小写,dolphin.lower_case_table_names增加库名(即schema名称)的大小写敏感 (2)dolphin插件支持ALGORITHM语法兼容 Thanks & Best regards! 窦欣 (Dou Xin) E-mail: douxin5@huawei.com Department: openGauss Program -----原始约会----- 发件人: openGauss conference [mailto:public@opengauss.org] 发送时间: 2023年2月20日 10:28 收件人: tools@opengauss.org 主题: [Tools] openGauss tools sig例会 时间: 2023年2月21日星期二 10:00-12:00(UTC+08:00) 北京,重庆,香港特别行政区,乌鲁木齐。 地点: 您好! openGauss Tools SIG 邀请您参加 2023-02-21 10:00 召开的Zoom会议(自动录制) 会议主题:openGauss tools sig例会 会议内容: 议题申报: 1. 【迁移工具】MySQL迁移工具适配内核兼容性设计方案评审(窦欣) 会议链接:https://us06web.zoom.us/j/86900618861?pwd=SUFGTmJpQnM2SHAyZVBjZGllcldiZz09 温馨提醒:建议接入会议后修改参会人的姓名,也可以使用您在gitee.com的ID 提前申报议题请编辑:https://etherpad.opengauss.org/p/Tools-meetings 更多资讯尽在:https://opengauss.org/zh/ Hello! openGauss Tools SIG invites you to attend the Zoom conference(auto recording) will be held at 2023-02-21 10:00, The subject of the conference is openGauss tools sig例会, Summary: 议题申报: 1. 【迁移工具】MySQL迁移工具适配内核兼容性设计方案评审(窦欣) You can join the meeting at https://us06web.zoom.us/j/86900618861?pwd=SUFGTmJpQnM2SHAyZVBjZGllcldiZz09. Note: You are advised to change the participant name after joining the conference or use your ID at gitee.com. Add topics: https://etherpad.opengauss.org/p/Tools-meetings More information: https://opengauss.org/en/
participants (1)
-
douxin (A)