tencent cloud

Tencent Cloud WeData

Release Notes
Dynamic Release Record (2026)
Product Introduction
Product Overview
Product Advantages
Product Architecture
Product Features
Application Scenarios
Purchase Guide
Billing Overview
Product Version Purchase Instructions
Execute Resource Purchase Description
Billing Modes
Overdue Policy
Refund
Preparations
Overview of Account and Permission Management
Add allowlist /security groups (Optional)
Sign in to WeData with Microsoft Entra ID (Azure AD) Single Sign-On (SSO)
Operation Guide
Console Operation
Project Management
Data Integration
Studio
Data Development
Data Analysis
Data Science
Data Governance (with Unity Semantics)
API Documentation
History
Introduction
API Category
Making API Requests
Smart Ops Related Interfaces
Project Management APIs
Resource Group APIs
Data Development APIs
Data Asset - Data Dictionary APIs
Data Development APIs
Ops Center APIs
Data Operations Related Interfaces
Data Exploration APIs
Asset APIs
Metadata Related Interfaces
Task Operations APIs
Data Security APIs
Instance Operation and Maintenance Related Interfaces
Data Map and Data Dictionary APIs
Data Quality Related Interfaces
DataInLong APIs
Platform Management APIs
Data Source Management APIs
Data Quality APIs
Platform Management APIs
Asset Data APIs
Data Source Management APIs
Data Types
Error Codes
WeData API 2025-08-06
Service Level Agreements
Related Agreement
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

DaMeng DM Data Source

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2024-11-01 17:48:13

Supported Editions

Currently, DM 7 and 8 versions are supported.

Use Limits

Note:
Supports reading view tables.

DM Offline Single Table Read Node Configuration




Parameters
Description
Data Source
Available DM data sources.
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.
Add Shared Database/Table
Multiple data sources can be created, and corresponding table objects can be added.
Note:
For sharded databases and tables, ensure the schema information of the selected multiple table objects is consistent (including field names and field types). The system defaults to displaying the metadata field information of the first table of the first data source in the data fields module. If fields between multiple tables are inconsistent, it may cause runtime failures.
Table
Supports selecting or manually entering the table name to be read.
Split Key
You can use a column from the source data table as a split key. It is recommended to use the primary key or an indexed column as the split key. Only integer fields are supported. During data reading, data sharding is performed based on the configured field to achieve concurrent reading, which can enhance data synchronization efficiency.
Filter Conditions (Optional)
Fill in the corresponding filter statement based on the data type; this statement serves as the filter condition for the data to be synchronized. DM constructs an SQL based on the specified where condition and extracts data according to this SQL. For example, during testing, you can specify the where condition as limit 10. In actual business scenarios, you typically choose to synchronize the data of the current day by setting the where condition to gmt_create > $bizdate.
The where condition can effectively perform incremental business synchronization.
If the where condition is empty, it is considered that the entire table's information will be synchronized.

DM Offline Single Table Write Node Configuration




Parameters
Description
Data Destination
DM 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
Before writing to the DM data table, you can manually choose whether to clear the table.
Write Mode
append: Append write.
upsert: Data update and write based on the primary key field.
Batch Submission Size
The size of the records batch submitted at one time can greatly reduce the number of network interactions between the data synchronization system and DM, thereby improving overall throughput. If this value is set too high, it might lead to OOM (Out of Memory) exceptions in the data synchronization process.
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

Read

DM Data Types
Internal Types
BIGINT,INTEGER,SMALLINT,TINYINT
Long
NUMERIC,DECIMAL,DOUBLE,FLOAT,REAL
Double
CHAR,VARCHAR,LONGVARCHAR,CLOB
String
TIME,DATE,TIMESTAMP
Date
BIT,BOOLEAN
Boolean
BINARY,VARBINARY,BLOB,LONGVARBINARY
Bytes

Write

Internal Types
DM Data Types
Long
BIGINT,INTEGER,SMALLINT,TINYINT
Double
DECIMAL,NUMERIC,DOUBLE,FLOAT,REAL
String
CHAR,VARCHAR,CLOB,LONGVARCHAR
Date
DATE,TIME,TIMESTAMP
Boolean
BOOLEAN,BIT
Bytes
BINARY,VARBINARY,BLOB,LONGVARBINARY


Ajuda e Suporte

Esta página foi útil?

comentários