Parameters | Description |
Data Source | Select the configured TDSQL for PostgreSQL data source for the source end. |
Database | Supports selecting or manually entering the library name to be read. By default, the database bound to the data source is used as the default library. For other databases, you need to manually enter the library name. 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. 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. |
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) | Fill in the corresponding filter statement based on the data type. This statement will serve as the filter condition for the data to be synchronized. |
Parameters | Description |
Data Destination | Select the configured TDSQL for PostgreSQL data source for the target end. |
Database | Supports selecting or manually entering the library name to be read. By default, the database bound to the data source is used as the default library. For other databases, you need to manually enter the library name. 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. 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 data table before writing to the TDSQL for PostgreSQL data table. |
Batch Submission Size | The size of the batch of records submitted at one time can greatly reduce the number of network interactions between the Data Synchronization System and TDSQL for PostgreSQL and improve overall throughput. If this value is set too large, it may cause the data synchronization running process to encounter OOM exceptions. |
Pre-Executed SQL | SQL statements executed before the synchronization task. Fill in the SQL according to the correct SQL syntax corresponding to the data source type. |
Post-Executed SQL | SQL statements executed after the synchronization task. Fill in the SQL according to the correct SQL syntax corresponding to the data source type. |
TDSQL for PostgreSQL Data Type | Internal Types |
smallint,integer,bigint,serial,bigserial | Long |
double precision, money, numeric, real | Double |
varchar(character varying), char(character) | String |
date, time, timestamp | Date |
bool(boolean) | Boolean |
bytea | Bytes |
Internal Types | TDSQL for PostgreSQL Data Type |
Long | smallint,integer,bigint |
Double | double precision,numeric, real |
String | varchar(character varying), char(character),bit,money |
Date | date, time, timestamp |
Boolean | bool |
Bytes | bytea |
Was this page helpful?