GUC参数检查
GaussDB 提供了许多运行参数,统称为 GUC 参数,配置这些参数可以影响数据库系统的行为。UGO 对于 SQL 语法的转换,是基于与源库兼容性最好的一组 GUC 参数配置进行的,请根据对象迁移预检查中的提示进行 GUC 参数设置,否则可能影响最终对象迁移的成功率和可用性。
- 针对 GUC 的校验是基于评估选定的目标数据库版本,而不是当前实际连接的目标数据库版本。
- GaussDB 集中式版(M兼容)作为目标库时,暂不支持 GUC 参数检查。
- GaussDB GUC 参数的设置方法请参考预检查页面中检查项的提示,或参考如何设置GaussDB 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-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 |
|
GaussDB集中式版(M兼容) V2.0-8.100 企业版 |
m_format_behavior_compat_options, m_format_dev_version |
|
GaussDB集中式版(M兼容) V2.0-8.200 企业版 |
m_format_behavior_compat_options, m_format_dev_version |
|
GaussDB集中式版(M兼容) V2.0-9.0 企业版 |
m_format_behavior_compat_options, m_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, a_format_date_timestamp |
|
GaussDB分布式版 V2.0-8.200 企业版 |
behavior_compat_options, sql_beta_feature, IntervalStyle, a_format_version, a_format_dev_version, a_format_date_timestamp |
|
GaussDB集中式版 V2.0-9.0 企业版 |
behavior_compat_options, plsql_compile_check_options, sql_beta_feature, IntervalStyle, mapping_date_to_datea, a_format_version, a_format_dev_version, a_format_date_timestamp |
|
GaussDB分布式版 V2.0-9.0 企业版 |
behavior_compat_options, sql_beta_feature, IntervalStyle, mapping_date_to_datea, a_format_version, a_format_dev_version, a_format_date_timestamp |
|
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.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-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 |
|
GaussDB集中式版 V2.0-8.200 企业版 |
behavior_compat_options, plsql_compile_check_options, sql_beta_feature, a_format_version, a_format_dev_version |
|
GaussDB分布式版 V2.0-8.200 企业版 |
behavior_compat_options, sql_beta_feature, a_format_version, a_format_dev_version |
|
GaussDB集中式版 V2.0-9.0 企业版 |
behavior_compat_options, plsql_compile_check_options, sql_beta_feature, a_format_version, a_format_dev_version |
|
GaussDB分布式版 V2.0-9.0 企业版 |
behavior_compat_options, sql_beta_feature, a_format_version, a_format_dev_version |
GaussDB 集中式版的参数 plsql_compile_check_options,用于校验 FUNCTION、PROCEDURE 和 PACKAGE 中的全量语句。当语句中存在未定义对象时,将打印告警信息进行提示。由于该参数存在误报,因此仅推荐在测试环境使用以提高问题定位效率,在生产中建议关闭此参数。