Help Center/ Data Replication Service/ User Guide(Ally Region)/ FAQs/ Data-Level Comparison/ Which of the Following Data Types Are Not Supported By Value Comparison?
Updated on 2026-01-09 GMT+08:00

Which of the Following Data Types Are Not Supported By Value Comparison?

DRS data comparison allows you to check whether the data in the source database is the same as that in the destination database.

DRS does not support value comparison for the data types shown here. During value comparison, these data types are automatically ignored.

Table 1 Data types that do not support value comparison

Source DB Type

Data Type

MySQL

TINYBLOB, BLOB, MEDIUMBLOB, LONGBLOB, TINYTEXT, TEXT, MEDIUMTEXT, LONGTEXT

Note: These types support value comparison after synchronization from MySQL to MySQL, and MySQL to GaussDB Centralized.

GaussDB

TEXT, CLOB, BLOB, BYTEA, INTERVAL DAY TO SECOND, INTERVAL

Note: These types support value comparison after synchronization from GaussDB Distributed to GaussDB Distributed, and GaussDB Centralized to MySQL.

MongoDB

_id is of the BINDATA type.

DRS does not support value comparison for the following primary key types. During value comparison, the following primary key types are grouped into a specified table that does not support comparison.

Table 2 Primary key type that does not support value comparison.

Source DB Type

Data Type

GaussDB

TEXT, CLOB, BLOB, BYTEA, INTERVAL DAY TO SECOND, INTERVAL, REAL, DOUBLE PRECISION, BOOL, TIME, TIMETZ, TIMESTAMP, TIMESTAMPTZ, DATE

Note: During comparison after synchronization from GaussDB Distributed to GaussDB Distributed, or GaussDB Centralized to MySQL, if a primary key type that does not support value comparison is used as a composite primary key and the composite primary key contains the primary key type that supports value comparison, value comparison can be performed by primary key table.

PostgreSQL

REAL, DOUBLE PRECISION, MONEY, TEXT, BYTEA, TIMESTAMP WITHOUT TIME ZONE, TIMESTAMP WITH TIME ZONE, DATE, TIME WITHOUT TIME ZONE, TIME WITH TIME ZONE, INTERVAL, BOOLEAN, ENUMERATED TYPES, POINT, LINE, LSEG, BOX, PATH, POLYGON, CIRCLE, CIDR, INET, MACADDR, MACADDR8, BIT, BIT VARYING, TSVECTOR, TSQUERY, XML, JSON, ARRAY, COMPOSITE TYPES, INT4RANGE, INT8RANGE, NUMRANGE, TSRANGE, TSTZRANGE, DATERANGE