DatriseAI-first ETL

TiDB to Azure Synapse Integration

AI-first ETL from TiDB into Azure Synapse. Governed entities, incremental sync, typed landing tables.

How Datrise loads TiDB into Azure Synapse

Datrise syncs TiDB's tables, rows, schemas, indexes, regions, and TiCDC change events into Azure Synapse as a typed table per source entity. Flexible or custom fields land in NVARCHAR(MAX) JSON columns, and timestamps such as created, updated, and status changes are typed as datetime2.

Sync is incremental: Datrise uses COPY into staging, then a MERGE on stable id, so re-runs update only what changed. Hash distribution on the join id with date partitioning on facts. Synapse dedicated pools reward good hash-distribution choices, so Datrise distributes on entity ids to avoid data-movement-heavy joins.

Ideal for Azure analytics estates feeding Power BI.

Endpoints

TiDB: MySQL-compatible HTAP database with row and column stores.

Azure Synapse: Microsoft analytics workspace with SQL pools.

How TiDB entities map to Azure Synapse

TiDB entityAzure Synapse objectNotes
tablestidb_tablesid PK · custom fields → NVARCHAR(MAX) JSON columns
rowstidb_rowsid PK · linked to tidb_tables
schemastidb_schemasid PK · linked to tidb_tables
indexestidb_indexesid PK · linked to tidb_tables

FAQ

How does Datrise handle TiDB's custom fields in Azure Synapse?

Flexible values are stored as NVARCHAR(MAX) JSON columns, so new fields don't require a migration; strongly-typed fields — dates, numbers, and references — are promoted to native Azure Synapse types.

How does the TiDB to Azure Synapse sync stay up to date?

It runs incrementally — Datrise uses COPY into staging, then a MERGE on stable id.

Related pipelines

Early access

Connect TiDB to Azure Synapse the easy way

Skip brittle scripts and manual exports. Join the waitlist to get a guided setup, AI-assisted mapping, and reliable incremental sync for this integration.