Updated on 2024-03-15 GMT+08:00

GAUSS-04621 -- GAUSS-04630

GAUSS-04621: "Failed to deserialize command, which type is %d"

SQLSTATE: XX000

Description: Invalid GDS interaction is received.

Solution: Check whether invalid data exists in the imported file of GDS foreign tables, clean the file, and import it again.

GAUSS-04622: "%s cannot be executed when enable_show_any_tuples is true."

SQLSTATE: XX000

Description: The enable_show_any_tuples parameter is set to true or on, which is used for analyzing problems in a read-only transaction. In this case, an error message is displayed when you do VACUUM.

Solution: Reset enable_show_any_tuples to the default value and then do VACUUM.

GAUSS-04623: "Invalid schema oid: %u"

SQLSTATE: 3F000

Description: The schema entered by the user is not found.

Solution: Contact technical support.

GAUSS-04624: "deltamerge: This relation doesn't support vacuum deltamerge operation"

SQLSTATE: 42P01

Description: The deltamerge operation specified by the vacuum deltamerge [table_name] syntax cannot be performed to merge the table.

Solution: Ensure that [table_name] specifies a delta table in the vacuum deltamerge [table_name] syntax.

GAUSS-04625: "could not open relation %s(%d) on node %s."

SQLSTATE: XX000

Description: When the gs_switch_relfilenode function is used to exchange the files of two tables, the tables to be switched cannot be opened.

Solution: Ensure the files of the tables are not damaged or lost. Contact technical support.

GAUSS-04626: "gs_switch_relfilenode can be only used by redistribution tool."

SQLSTATE: XX000

Description: The metainformation exchange function is only used for the redistribution tool and not recommended for users.

Solution: The database does not support the function. Contact technical support.

GAUSS-04627: "DFS tablespace can not be used as default tablespace."

SQLSTATE: 22023

Description: The DFS tablespace cannot be used as the default tablespace.

Solution: Do not use the DFS tablespace as the default tablespace.

GAUSS-04628: "It is unsupported to rename database '%s' on DFS tablespace '%s'."

SQLSTATE: 0A000

Description: If the DFS tablespace is used in the database, the tablespace cannot be renamed.

Solution: Ensure that no table in the database uses DFS tablespaces.

GAUSS-04629: "Failed to get database name by database oid %d."

SQLSTATE: XX000

Description: The database name cannot be found based on the OID of the database.

Solution: An exception occurred in the system. Failed to find the specified database in the cache. Contact technical support.

GAUSS-04630: "Failed to drop database directory '%s' on HDFS."

SQLSTATE: XX000

Description: The database directory cannot be deleted from HDFS.

Solution: If the tablespace of the current database is in the HDFS file system, the tablespace directory cannot be deleted using DROP DATABASE. Contact technical support.