Type | Supported Version |
TDSQL-C MySQL | 5.7,8.0 |
JDBC Driver | 8.0.21 |
Capability | Offline read | Real-time full database read | Sharded database and table read |
Supported | ✓ | ✓ | ✓ |
Limit | Description |
Binlog format | Only ROW is supported. |
binlog_row_image | Must be set to FULL |
Binlog retention period | Retain for at least 72 hours. |
Table without primary key | Tables without primary keys cannot guarantee exactly-once semantics. |
XA transaction | XA ROLLBACK is not supported. |
Read-only standby database | Reading is not supported due to stability and compatibility issues. |
Stored procedures and materialized views | Reading is not supported. |
SET type | Real-time synchronization is not supported. |
Limit | Description |
Concurrency for Sharded Table Synchronization | When multiple tables are split into a single table during synchronization, the task concurrency must be greater than the number of tables. |
Stored Procedure | Reading is not supported. |
Field Type | Offline read | Real-time read |
TINYINT / TINYINT UNSIGNED | ✅ | ✅ |
SMALLINT / MEDIUMINT / INT / BIGINT (including UNSIGNED) | ✅ | ✅ |
FLOAT / DOUBLE / DECIMAL / NUMERIC | ✅ | ✅ |
REAL | ❌ | ✅ |
CHAR / VARCHAR / TEXT Series | ✅ | ✅ |
JSON | ✅ | ✅ |
BINARY / VARBINARY / BLOB Series | ✅ | ✅ |
DATE / TIME / DATETIME / TIMESTAMP / YEAR | ✅ | ✅ |
BIT / BOOL / BOOLEAN / ENUM | ✅ | ✅ |
SET | ✅ | ❌ |
GEOMETRY / POINT | ❌ | ✅ |
Spatial types such as LINESTRING / POLYGON / MULTIPOINT | ❌ | ❌ |
TINYINT(1) is mapped to BOOLEAN by default. You can change it to TINYINT in advanced settings.Operation | Whether Supported |
INSERT / DELETE / UPDATE | ✅ |
Operation | Whether Supported | Supported syntax examples |
Add column (ADD COLUMN) | ✅ | ALTER TABLE t ADD col TYPE [FIRST | AFTER col] |
Drop column (DROP COLUMN) | ✅ | ALTER TABLE t DROP [COLUMN] col |
Rename column (RENAME / CHANGE COLUMN) | ✅ | ALTER TABLE t CHANGE old new TYPE |
Modify column type (MODIFY COLUMN) | ✅ | ALTER TABLE t MODIFY col TYPE |
Add table (CREATE TABLE) | ✅ | CHECK and Temporary tables are not supported. |
Rename table / Delete table / Clear table | ❌ | |
CREATE USER 'wedata_user'@'%' IDENTIFIED BY 'your_password';GRANT SELECT ON your_database.* TO 'wedata_user'@'%';FLUSH PRIVILEGES;
CREATE USER 'wedata_cdc_user'@'%' IDENTIFIED BY 'your_password';GRANT SELECT, SHOW DATABASES, REPLICATION SLAVE, REPLICATION CLIENTON *.* TO 'wedata_cdc_user'@'%';FLUSH PRIVILEGES;
scan.incremental.snapshot.enabled is enabled, the RELOAD privilege is no longer required.binlog_format = ROWbinlog_row_image = FULLParameter | Description | Required | Default Value |
Data Source Name | Unique identifier of the data source within the workspace | Yes | - |
Connection Method | String connection (JDBC URL) / Tencent Cloud instance | Yes | Tencent Cloud Instance |
JDBC URL | Connection string in string connection mode, in the format jdbc:mysql://host:port/database | Required for string connection | — |
Region and Instance | Required for Tencent Cloud instance mode | Required for Tencent Cloud instance | — |
Username. | Database connection account | Yes | — |
Password | Database connection password (SSM credential hosting supported) | Yes | — |
Data Source Version | 5.7 | Yes | — |
Advanced Parameters | Connection-level extended parameters | No | — |
Configuration Item | Description |
Source Table Scope | Specified tables (only selected tables are synchronized; new tables require a restart) / regex matching (specify database name + table name regex; new tables that match the rule are automatically added). |
Read Mode | Full + incremental / Incremental only |
Subscription Type | You can select INSERT / UPDATE / DELETE, and at least one must be retained. |
gh-ost Synchronization | Whether to synchronize temporary tables generated by gh-ost online DDL |
Configuration Item | Description |
Data source. | Configured MySQL data source |
Database / Table | Supports exact specification and regex matching. Table names support ranges such as table_[0-99] |
Split Key | Supports integer fields only; primary key or indexed columns recommended; avoid COLLATE columns. |
Filtering Condition | Standard WHERE syntax, supports time parameters (such as gmt_create > $bizdate). |
server-id in its advanced parameters, delete it.slave_net_timeout = 120 and optimize parallelism and memory.scan.incremental.snapshot.chunk.size (default: 8096).*_gho temporary tables. You can also configure a regular expression for shadow tables.Esta página foi útil?
Você também pode entrar em contato com a Equipe de vendas ou Enviar um tíquete em caso de ajuda.
comentários