- 错误码参考
- SQL标准错误码说明
- 第三方库错误码说明
- GAUSS-00001 -- GAUSS-00100
- GAUSS-00101 -- GAUSS-00200
- GAUSS-00201 -- GAUSS-00300
- GAUSS-00301 -- GAUSS-00400
- GAUSS-00401 -- GAUSS-00500
- GAUSS-00501 -- GAUSS-00600
- GAUSS-00601 -- GAUSS-00700
- GAUSS-00701 -- GAUSS-00800
- GAUSS-00801 -- GAUSS-00900
- GAUSS-00901 -- GAUSS-01000
- GAUSS-01001 -- GAUSS-01100
- GAUSS-01101 -- GAUSS-01200
- GAUSS-01201 -- GAUSS-01300
- GAUSS-01301 -- GAUSS-01400
- GAUSS-01401 -- GAUSS-01500
- GAUSS-01501 -- GAUSS-01600
- GAUSS-01601 -- GAUSS-01700
- GAUSS-01701 -- GAUSS-01800
- GAUSS-01801 -- GAUSS-01900
- GAUSS-01901 -- GAUSS-02000
- GAUSS-02001 -- GAUSS-02100
- GAUSS-02101 -- GAUSS-02200
- GAUSS-02201 -- GAUSS-02300
- GAUSS-02301 -- GAUSS-02400
- GAUSS-02401 -- GAUSS-02500
- GAUSS-02501 -- GAUSS-02600
- GAUSS-02601 -- GAUSS-02700
- GAUSS-02701 -- GAUSS-02800
- GAUSS-02801 -- GAUSS-02900
- GAUSS-02901 -- GAUSS-03000
- GAUSS-03001 -- GAUSS-03100
- GAUSS-03101 -- GAUSS-03200
- GAUSS-03201 -- GAUSS-03300
- GAUSS-03301 -- GAUSS-03400
- GAUSS-03401 -- GAUSS-03500
- GAUSS-03501 -- GAUSS-03600
- GAUSS-03601 -- GAUSS-03700
- GAUSS-03701 -- GAUSS-03800
- GAUSS-03801 -- GAUSS-03900
- GAUSS-03901 -- GAUSS-04000
- GAUSS-04001 -- GAUSS-04100
- GAUSS-04101 -- GAUSS-04200
- GAUSS-04201 -- GAUSS-04300
- GAUSS-04301 -- GAUSS-04400
- GAUSS-04401 -- GAUSS-04500
- GAUSS-04501 -- GAUSS-04600
- GAUSS-04601 -- GAUSS-04700
- GAUSS-04701 -- GAUSS-04800
- GAUSS-04901 -- GAUSS-04999
- GAUSS-05101 -- GAUSS-05200
- GAUSS-05801 -- GAUSS-05900
- GAUSS-05901 -- GAUSS-05999
- GAUSS-06101 -- GAUSS-06200
- GAUSS-50000 -- GAUSS-50999
- GAUSS-51000 -- GAUSS-51999
- GAUSS-52000 -- GAUSS-52999
- GAUSS-53000 -- GAUSS-53999
GAUSS-04621 -- GAUSS-04630
链接复制成功!
GAUSS-04621: "Failed to deserialize command, which type is %d"
SQLSTATE: XX000
错误原因:收到了非法的GDS交互。
解决办法:请检查GDS外表对应的导入文件中是否存在非法数据并对文件进行数据清洗后再次导入。
GAUSS-04622: "%s cannot be executed when enable_show_any_tuples is true."
SQLSTATE: XX000
错误原因:当设置guc参数enable_show_any_tuples为true/on时,用于在只读事务中分析问题,此时做VACUUM操作会报错。
解决办法:enable_show_any_tuples为true/on,当前正处于只读事务中分析问题,请reset enable_show_any_tuples的取值为默认值后再进行VACUUM操作。
GAUSS-04623: "Invalid schema oid: %u"
SQLSTATE: 3F000
错误原因:没有找到用户输入的schema。
解决办法:请联系技术支持工程师提供技术支持。
GAUSS-04624: "deltamerge: This relation doesn't support vacuum deltamerge operation"
SQLSTATE: 42P01
错误原因:通过语法“vacuum deltamerge [table_name]”merge delta表时,该表不支持deltamerge操作。
解决办法:请确认语法vacuum deltamerge [table_name]中指定的table_name是否为delta表。
GAUSS-04625: "could not open relation %s(%d) on node %s."
SQLSTATE: XX000
错误原因:打开表失败,原因可能有文件损坏或丢失。
解决办法:通过函数gs_switch_relfilenode交换两张表的文件时,待交换的表无法正常打开,请检查文件是否损坏或已异常丢失。请联系技术支持工程师提供技术支持。
GAUSS-04626: "gs_switch_relfilenode can be only used by redistribution tool."
SQLSTATE: XX000
错误原因:元信息交换函数只在重分布工具使用,不建议用户使用。
解决办法:规格限制,请联系技术支持工程师提供技术支持。
GAUSS-04627: "DFS tablespace can not be used as default tablespace."
SQLSTATE: 22023
错误原因:DFS表空间不允许被用作默认表空间。
解决办法:不要将DFS表空间用作默认表空间。
GAUSS-04628: "It is unsupported to rename database '%s' on DFS tablespace '%s'."
SQLSTATE: 0A000
错误原因:如果数据库中的表使用了DFS类型的表空间,那么该数据库不支持重命名。
解决办法:如果需要对数据库进行重命名,请确认数据库中的表未使用DFS表空间。
GAUSS-04629: "Failed to get database name by database oid %d."
SQLSTATE: XX000
错误原因:通过数据库的OID找不到数据库的名字。
解决办法:系统存在异常,在Cache中查找指定数据库失败,请联系技术支持工程师提供技术支持。
GAUSS-04630: "Failed to drop database directory '%s' on HDFS."
SQLSTATE: XX000
错误原因:无法删除在HDFS系统上的数据库目录。
解决办法:DROP DATABASE操作关联删除表空间时,如果当前数据库的表空间是HDFS文件系统,则无法删除该表空间目录,请联系技术支持工程师提供技术支持。
