---
title: "How Atlan Moved Its Data Platform from Spark and StarRocks to DuckDB on S3"
description: "Atlan replaced Apache Spark with Delta Lake for its metadata and lineage pipelines with in-process DuckDB running inside Python workers on Kubernetes and Temporal, reading and writing Parquet and Iceberg on S3."
url: "https://swe.quest/articles/how-atlan-moved-its-data-platform-from-spark-and-starrocks-to-duckdb-on-s3-56d42b8e57ea758e"
canonical: "https://duckdb.org/2026/12/04/atlan-metadata-platform-duckdb.html"
source: "DuckDB"
published: "2026-12-04"
difficulty: "medium"
kind: "Case study"
reading_minutes: 5
tags: ["analytics","data-pipelines","cost-optimization","multi-tenancy","cloud"]
---

# How Atlan Moved Its Data Platform from Spark and StarRocks to DuckDB on S3

A post on [DuckDB](https://swe.quest/sources/duckdb.md), published 2026-12-04, 5 min read, Case study. Original: [https://duckdb.org/2026/12/04/atlan-metadata-platform-duckdb.html](https://duckdb.org/2026/12/04/atlan-metadata-platform-duckdb.html)

## Summary

Atlan replaced Apache Spark with Delta Lake for its metadata and lineage pipelines with in-process DuckDB running inside Python workers on Kubernetes and Temporal, reading and writing Parquet and Iceberg on S3. The new pipelines run faster and cost far less, with no cluster to size and no extra system to deploy in customers' cloud accounts. A DuckDB service on ephemeral compute with per-tenant isolation replaced StarRocks at about 40% lower cost, and ClickHouse trace storage is being replaced the same way. Atlan's patches in DuckDB 2.0 include disk spilling for string/list aggregate states, an opt-in external file cache spill to local disk, and new JSON editing and merge-patch functions.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Analytics & OLAP](https://swe.quest/tags/analytics.md) (Data & databases)
- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Cost optimization](https://swe.quest/tags/cost-optimization.md) (Reliability & operations)
- [Multi-tenancy](https://swe.quest/tags/multi-tenancy.md) (Architecture & design)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- Parquet and object storage ([easy posts on Storage systems](https://swe.quest/tags/storage-systems.md?difficulty=easy))
- Apache Iceberg basics
- analytical SQL engines ([easy posts on SQL](https://swe.quest/tags/sql.md?difficulty=easy))

## Keywords

DuckDB, Apache Spark, StarRocks, ClickHouse, Apache Iceberg, Parquet, Amazon S3, Temporal

## Related posts

- [From Spreadsheets to DuckLake: A Data Engineer's Road to DuckDB](https://swe.quest/articles/from-spreadsheets-to-ducklake-a-data-engineer-s-road-to-duckdb-befcab104cb9bbfa.md): DuckDB · 2026-10-29 · Medium · 6 min read · Analytics & OLAP, Data pipelines, Databases, SQL
  Data engineer Matt Martin traces his path from copy-pasting Excel reports through Teradata, BigQuery and heavyweight Spark clusters to DuckDB, which let him query local CSVs, S3 Parquet files and Iceberg tables in a few lines of SQL with no JVM or cluster.
- [Zero-ETL lakehouses for Postgres people](https://swe.quest/articles/zero-etl-lakehouses-for-postgres-people-0c496e91a2b39f0f.md): Neon · 2026-01-12 · Easy · 11 min read · Analytics & OLAP, PostgreSQL, Data pipelines, Storage systems
  Data lakehouses unbundle an OLAP database into six layers: object storage, raw data formats like Parquet, table formats like Iceberg or Delta Lake, a metadata catalog such as Unity Catalog or DuckLake, compute, and query engines like Spark or DuckDB.
- [Aderant modernizes analytics data pipeline with Apache Iceberg and AWS Lambda](https://swe.quest/articles/aderant-modernizes-analytics-data-pipeline-with-apache-iceberg-and-aws-lambda-5b9fc37de182f3f3.md): AWS Architecture Blog · 2026-11-19 · Medium · 9 min read · Data pipelines, Analytics & OLAP, Serverless, Multi-tenancy, Cloud platforms
  Aderant replaced a 15-minute batch pipeline for its Stridyn legal analytics tool with an event-driven medallion architecture (bronze, silver, gold) built on Apache Iceberg tables in S3.
- [Maximizing Your Delta Scan Performance in DuckDB](https://swe.quest/articles/maximizing-your-delta-scan-performance-in-duckdb-6643024699229651.md): DuckDB · 2025-03-21 · Medium · 13 min read · Query engines, Analytics & OLAP, Performance engineering, Storage systems
  DuckDB's delta extension v0.3.0 runs TPC-DS SF1 on S3 more than 3× faster than v0.1.0, mostly because cardinality information now reaches DuckDB's join order optimizer.
- [Scaling SaaS security: Reco’s migration from Postgres to ClickHouse Cloud](https://swe.quest/articles/scaling-saas-security-reco-s-migration-from-postgres-to-clickhouse-cloud-644c039f853be147.md): ClickHouse · 2025-11-17 · Medium · 6 min read · Analytics & OLAP, PostgreSQL, Stream processing, Performance engineering, Cost optimization
  Reco, a SaaS security platform ingesting 10-12 billion JSON events weekly, moved over 90% of its workload from Postgres to ClickHouse Cloud.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
