DatriseAI-first ETL

TiDB to Supabase Integration

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

How Datrise loads TiDB into Supabase

Datrise syncs TiDB's tables, rows, schemas, indexes, regions, and TiCDC change events into Supabase as a typed table per source entity in your Supabase Postgres. Flexible or custom fields land in jsonb columns, and timestamps such as created, updated, and status changes are typed as timestamptz.

Sync is incremental: Datrise uses a watermark on updated-at, applied with INSERT … ON CONFLICT DO UPDATE, so re-runs update only what changed. Optional declarative partitioning for high-volume tables. Datrise lands into a dedicated schema and leaves row-level security to you, so synced tables don't inherit public access by accident.

Ideal for app builders who want CRM data alongside their Supabase product data.

Endpoints

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

Supabase: Postgres platform with auth, storage, and realtime APIs.

How TiDB entities map to Supabase

TiDB entitySupabase objectNotes
tablestidb_tablesid PK · custom fields → jsonb 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 Supabase?

Flexible values are stored as jsonb columns, so new fields don't require a migration; strongly-typed fields — dates, numbers, and references — are promoted to native Supabase types.

How does the TiDB to Supabase sync stay up to date?

It runs incrementally — Datrise uses a watermark on updated-at, applied with INSERT … ON CONFLICT DO UPDATE.

Related pipelines

Early access

Connect TiDB to Supabase 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.