Amazon DynamoDB to ClickHouse Integration
AI-first ETL from Amazon DynamoDB into ClickHouse. Governed entities, incremental sync, typed landing tables.
How Datrise loads Amazon DynamoDB into ClickHouse
Datrise syncs Amazon DynamoDB's tables, items, partition keys, sort keys, attributes, and stream records into ClickHouse as a MergeTree table per source entity. Flexible or custom fields land in JSON or Map columns, and timestamps such as created, updated, and status changes are typed as DateTime64.
Sync is incremental: Datrise uses inserts into a ReplacingMergeTree keyed on stable id, so the latest version wins on merge, so re-runs update only what changed. Partition by month and order by (entity id, updated-at) for fast range scans. ClickHouse deduplicates asynchronously on merge, so Datrise uses ReplacingMergeTree and FINAL-safe queries rather than assuming immediate upserts.
Ideal for high-volume event analytics that need sub-second aggregation.
Endpoints
Amazon DynamoDB: Serverless key-value and document store on AWS.
ClickHouse: Columnar OLAP engine for fast aggregations.
How Amazon DynamoDB entities map to ClickHouse
| Amazon DynamoDB entity | ClickHouse object | Notes |
|---|---|---|
| tables | source_dynamodb_tables | id PK · custom fields → JSON or Map columns |
| items | source_dynamodb_items | id PK · linked to source_dynamodb_tables |
| partition keys | source_dynamodb_partition_keys | id PK · linked to source_dynamodb_tables |
| sort keys | source_dynamodb_sort_keys | id PK · linked to source_dynamodb_tables |
FAQ
How does Datrise handle Amazon DynamoDB's custom fields in ClickHouse?
Flexible values are stored as JSON or Map columns, so new fields don't require a migration; strongly-typed fields — dates, numbers, and references — are promoted to native ClickHouse types.
How does the Amazon DynamoDB to ClickHouse sync stay up to date?
It runs incrementally — Datrise uses inserts into a ReplacingMergeTree keyed on stable id, so the latest version wins on merge.
Related pipelines
More destinations for Amazon DynamoDB
- Amazon DynamoDB → DuckDB
- Amazon DynamoDB → Amazon Athena
- Amazon DynamoDB → Amazon S3 Data Lake
- Amazon DynamoDB → Azure Data Lake Storage
- Amazon DynamoDB → Azure Synapse
- Amazon DynamoDB → Spreadsheets
- Amazon DynamoDB → Airtable
- Amazon DynamoDB → CSV Files
- Amazon DynamoDB → MongoDB
- Amazon DynamoDB → Supabase
- Amazon DynamoDB → Neon
- Amazon DynamoDB → PlanetScale
Early access
Connect Amazon DynamoDB to ClickHouse 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.