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 entity | Azure Synapse object | Notes |
|---|---|---|
| tables | tidb_tables | id PK · custom fields → NVARCHAR(MAX) JSON columns |
| rows | tidb_rows | id PK · linked to tidb_tables |
| schemas | tidb_schemas | id PK · linked to tidb_tables |
| indexes | tidb_indexes | id 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
More destinations for TiDB
More sources for Azure Synapse
- TikTok Ads → Azure Synapse
- Timely → Azure Synapse
- Todoist → Azure Synapse
- Toggl → Azure Synapse
- 3PL Central → Azure Synapse
- Trustpilot → Azure Synapse
- Twilio Task Router → Azure Synapse
- Twitter → Azure Synapse
- Twitter Ads → Azure Synapse
- Tyntec SMS → Azure Synapse
- Unleash → Azure Synapse
- Urban Airship → Azure Synapse
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.