数据库和应用迁移 UGO-GUC参数检查

时间:2025-01-26 10:43:02

GUC参数检查

GaussDB 提供了许多运行参数,统称为 GUC 参数,配置这些参数可以影响数据库系统的行为。UGO 对于 SQL 语法的转换,是基于与源库兼容性最好的一组 GUC 参数配置进行的,请根据对象迁移预检查中的提示进行 GUC 参数设置,否则可能影响最终对象迁移的成功率和可用性。

目标库为GaussDB V2.0-3.1及以上版本,源库为 Oracle、Microsoft SQL Server、MySQL时,展示此检查项。检查用户是否设置了GUC参数配置,详细检查项参考表1
  • 针对GUC的校验是基于评估选定的目标数据库版本,而不是当前实际连接的目标数据库版本。
  • GaussDB集中式版(M兼容)作为目标库时,暂不支持GUC参数检查。
  • GaussDB GUC 参数的设置方法请参考预检查页面中检查项的提示,或参考如何设置GaussDB GUC参数进行操作。
表1 目标库GUC参数检查项

源数据库类型

目标库版本

检查项

MySQL

GaussDB集中式版 V2.0-3.1 企业版

-

GaussDB集中式版 V2.0-3.2 企业版

b_format_behavior_compat_options

GaussDB分布式版 V2.0-3.2 企业版

-

GaussDB集中式版 V2.0-3.3 企业版

b_format_behavior_compat_options

GaussDB集中式版 V2.0-8.0 企业版

b_format_version, b_format_dev_version

GaussDB分布式版 V2.0-8.0 企业版

b_format_version, b_format_dev_version

GaussDB集中式版 V2.0-8.100 企业版

b_format_version, b_format_dev_version

GaussDB分布式版 V2.0-8.100 企业版

b_format_version, b_format_dev_version

Oracle

GaussDB集中式版 V2.0-3.1 企业版

behavior_compat_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB集中式版 V2.0-3.2 企业版

behavior_compat_options, plsql_compile_check_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB分布式版 V2.0-3.2 企业版

behavior_compat_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB集中式版 V2.0-3.3 企业版

behavior_compat_options, plsql_compile_check_options, sql_beta_feature, IntervalStyle, a_format_version, a_format_dev_version

GaussDB分布式版 V2.0-3.3 企业版

behavior_compat_options, sql_beta_feature, IntervalStyle, a_format_version, a_format_dev_version

GaussDB集中式版 V2.0-8.0 企业版

behavior_compat_options, plsql_compile_check_options, sql_beta_feature, IntervalStyle, a_format_version, a_format_dev_version

GaussDB分布式版 V2.0-8.0 企业版

behavior_compat_options, sql_beta_feature, IntervalStyle, a_format_version, a_format_dev_version

GaussDB集中式版 V2.0-8.100 企业版

behavior_compat_options, plsql_compile_check_options, sql_beta_feature, IntervalStyle, a_format_version, a_format_dev_version

GaussDB分布式版 V2.0-8.100 企业版

behavior_compat_options, sql_beta_feature, IntervalStyle, a_format_version, a_format_dev_version

GaussDB集中式版 V2.0-8.200 企业版

behavior_compat_options, plsql_compile_check_options, sql_beta_feature, IntervalStyle, a_format_version, a_format_dev_version

GaussDB分布式版 V2.0-8.200 企业版

behavior_compat_options, sql_beta_feature, IntervalStyle, a_format_version, a_format_dev_version

Microsoft SQL Server

GaussDB集中式版 V2.0-3.1 企业版

behavior_compat_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB分布式版 V2.0-3.1 企业版

behavior_compat_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB集中式版 V2.0-3.2 企业版

behavior_compat_options, plsql_compile_check_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB分布式版 V2.0-3.2 企业版

behavior_compat_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB集中式版 V2.0-3.3 企业版

behavior_compat_options, plsql_compile_check_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB分布式版 V2.0-3.3 企业版

behavior_compat_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB集中式版 V2.0-8.0 企业版

behavior_compat_options, plsql_compile_check_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB分布式版 V2.0-8.0 企业版

behavior_compat_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB集中式版 V2.0-8.100 企业版

behavior_compat_options, plsql_compile_check_options, sql_beta_feature, a_format_version, a_format_dev_version

GaussDB分布式版 V2.0-8.100 企业版

behavior_compat_options, sql_beta_feature, a_format_version, a_format_dev_version

support.huaweicloud.com/usermanual-ugo/ugo_03_0433.html