tencent cloud

All product documents
Tencent Cloud WeData
GaussDB Data Source
Last updated: 2024-11-01 17:52:37
GaussDB Data Source
Last updated: 2024-11-01 17:52:37

GaussDB Offline Single Table Read Node Configuration




Parameters
Description
Data Source
Available GaussDB Data Source.
Database
Supports selecting or manually entering the database name to be read
By default, the database bound to the data source is used as the default database. Other databases need to be manually entered.
If the data source network is not connected and the database information cannot be fetched directly, you can manually enter the database name. Data synchronization can still be performed when the Data Integration network is connected.
Schema
Supports selection or manual input of the Schema name to be read.
Table
Supports selecting or manually entering the table name to be read.
Split Key
Specify the field for data sharding. After specifying, concurrent tasks will be launched for data synchronization. You can use a column in the source data table as the partition key. It is recommended to use the primary key or indexed column as the partition key.
Filter Conditions (Optional)
In actual business scenarios, it is common to synchronize data of the current day, with the where condition specified as gmt_create>$bizdate.
The where condition can effectively perform incremental business synchronization.
If the WHERE clause is not provided, including missing the key or value, the data synchronization is treated as full data synchronization.

GaussDB Offline Single Table Write Node Configuration




Parameters
Description
Data Destination
GaussDB Data Source to be Written.
Database
Supports selection or manual input of the database name to write to
By default, the database bound to the data source is used as the default database. Other databases need to be manually entered.
If the data source network is not connected and the database information cannot be fetched directly, you can manually enter the database name. Data synchronization can still be performed when the Data Integration network is connected.
Schema
Supports selection or manual input of the Schema name to be read.
Table
Supports selection or manual input of the table name to write to
If the data source network is not connected and the table information cannot be fetched directly, you can manually enter the table name. Data synchronization can still be performed when the Data Integration network is connected.
Whether to Clear Table
You can manually choose whether to clear the GaussDB data table before writing to it.
Batch Submission Size
The number of records submitted in a single batch can significantly reduce the number of network interactions between the data synchronization system and GaussDB, and improve overall throughput. If the value is set too high, it may cause the data synchronization process to encounter OOM exceptions.
Pre-Executed SQL (Optional)
The SQL statement executed before the synchronization task. Fill in the correct SQL syntax according to the data source type, such as clearing the old data in the table before execution (truncate table tablename).
Post-Executed SQL (Optional)
The SQL statement executed after the synchronization task. Fill in the correct SQL syntax according to the data source type, such as adding a timestamp (alter table tablename add colname timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP).

Data type conversion support

The supported data types and conversion relationships for GaussDB are as follows (when processing GaussDB, the data types of the GaussDB data source will be mapped to those of the data processing engine first):

Read

GaussDB Data Type
Internal Types
bigint, bigserial, integer, smallint, serial
Long
double precision, money, numeric, real
Double
varchar, char, text, bit, inet
String
date, time, timestamp
Date
bool
Boolean
bytea
Bytes

Write

Internal Types
GaussDB Data Type
Long
bigint, bigserial, integer, smallint, serial
Double
double precision, money, numeric, real
String
varchar, char, text, bit
Date
date, time, timestamp
Boolean
bool
Bytes
bytes

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 available.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon