Skip to main content

Delta Lake

At a glance
  • Problem solved: bring ACID transactions, time travel and updates (UPDATE, DELETE, MERGE) to Parquet tables stored on S3, Azure, GCS or HDFS, with no metadata server.
  • Era: design started in 2016, provided to Databricks customers in 2017, open source on April 24, 2019, Linux Foundation on October 16, 2019.
  • Publisher: Databricks, then the Linux Foundation (non-Apache project, Apache 2.0 license).
  • Created by: Michael Armbrust and the Databricks team.
  • Category: table format (lakehouse).

Historical context​

In the mid-2010s, Databricks runs Spark as a cloud service, on top of object stores such as Amazon S3. These stores are cheap and huge, but they are key-value stores: an update touching several files is not atomic, consistency is only eventual and listing the objects of a table is expensive. The 2020 paper reports that in the first years of the service (2014 to 2016), around half of the support escalations came from corruption, consistency or performance issues tied to cloud storage.

Databricks therefore designs Delta Lake, an ACID table layer on top of object storage. The paper dates the design to 2016 and its availability to customers to 2017. Michael Armbrust, who had already created Spark SQL and Structured Streaming, is its creator. A 2022 Databricks post tells another genesis story: a conversation at Spark Summit 2018 with Dominique Brezinski, an engineer at Apple, whose team had to ingest petabytes of logs and telemetry per day, in batch and streaming at the same time.

On April 24, 2019, Databricks opens the code at delta.io under the Apache 2.0 license; UPDATE, DELETE and MERGE commands are then announced as "coming soon". Six months later, on October 16, 2019, at Spark + AI Summit Europe in Amsterdam, Delta Lake becomes a Linux Foundation project, with Alibaba, Booz Allen Hamilton, Intel and Starburst joining the announcement. Michael Armbrust then reports over 3,700 user organizations and 2 exabytes processed per month.

The VLDB 2020 paper, "Delta Lake: High-Performance ACID Table Storage over Cloud Object Stores", describes the protocol. In January 2021, Michael Armbrust, Ali Ghodsi, Reynold Xin and Matei Zaharia publish at CIDR the paper that names the lakehouse. In June 2022, Delta Lake 2.0 opens all APIs, including optimizations previously reserved to Databricks. Delta 3.0 (2023) adds UniForm to read a Delta table as an Iceberg or Hudi table, and on June 4, 2024 Databricks announces both the general availability of UniForm and the acquisition of Tabular, the company of Iceberg's creators.

Key idea​

All of the table's metadata lives in the object store itself, as a transaction log (the Delta log). Each commit is a new numbered file that lists the Parquet files added and removed. Clients agree on the order of commits through an optimistic concurrency protocol tailored to each store. No server needs to run to maintain the state of a table: you only launch engines that read the log.

How it works​

  • Data: Parquet files, possibly organized in partitioned directories in the Hive style. Parquet was chosen because it was the format with the most mature support in Spark.
  • Log: the _delta_log subdirectory holds numbered JSON files (000001.json, 000002.json...). Each one lists actions: add and remove of files (with per-column min and max statistics), metadata changes (schema, partitions), protocol version, provenance information.
  • Checkpoints: the log is regularly summarized in Parquet, by default every 10 transactions, to avoid rereading every JSON file.
  • Atomicity per store: atomic "put if absent" on Google Cloud Storage and Azure Blob Store, atomic rename on HDFS and Azure Data Lake Storage; since S3 offers neither, Databricks uses a lightweight coordination service.
  • Derived features: time travel, UPSERT, DELETE and MERGE, schema evolution without rewrites, exactly-once streaming reads and writes with Structured Streaming, Z-order.

The paper shows how to undo a bad update by merging the table with its past version:

MERGE INTO mytable target
USING mytable TIMESTAMP AS OF <old_date> source
ON source.userId = target.userId
WHEN MATCHED THEN UPDATE SET *

By the numbers​

FigureContextSource
~50%Share of Databricks support escalations tied to cloud storage (2014 to 2016), brought down to nearly noneVLDB 2020 paper
100xMaximum speedup seen at customers, in extreme casesVLDB 2020 paper
10 transactionsDefault frequency of the log's Parquet checkpointsVLDB 2020 paper
3,700+ organizationsUsers six months after the release, with 2 EB processed per month (October 2019)Databricks blog
7 millionMonthly downloads, up 10x in one year (June 2022)Databricks blog
190+ contributorsFrom over 70 organizations, two thirds outside Databricks (June 2022)Databricks blog
10,000+ companiesUsers, processing 4+ EB per day on average, and 500+ contributors (June 2024)Databricks press release
70+ peopleWho contributed to Delta Lake 4.0 (September 2025)delta.io blog

Milestones​

  • 2016: design starts, according to the VLDB paper.
  • 2017: provided to Databricks customers.
  • April 24, 2019: open source under the Apache 2.0 license.
  • October 16, 2019: Delta Lake joins the Linux Foundation.
  • 2020: VLDB paper (PVLDB, volume 13, issue 12).
  • January 2021: CIDR paper "Lakehouse: A New Generation of Open Platforms that Unify Data Warehousing and Advanced Analytics".
  • June 2022: Delta Lake 2.0, all APIs open-sourced (Z-order, Change Data Feed...).
  • June 2023: Delta Lake 3.0 and UniForm.
  • June 4, 2024: UniForm generally available; Databricks announces the acquisition of Tabular.
  • September 25, 2025: Delta Lake 4.0 (variant type, catalog-managed tables in preview).

Did you know?​

  • The paper believes Delta Lake was the first system to follow this design (from 2016), before Apache Hudi and Apache Iceberg.
  • On S3, the open source version only guarantees concurrent writes when they go through the same Spark driver, unless you plug in a suitable LogStore.
  • Delta Rust owes a lot to contributors from Scribd and Back Market, according to Databricks.
  • The CIDR 2021 paper predicts that the data warehouse architecture "will wither in the coming years", replaced by the lakehouse.

Strengths and limitations​

StrengthsLimitations
ACID on object storage with no metadata serverOn S3, concurrent writes require a coordination service
Time travel, MERGE, schema evolutionFor a long time, some optimizations (Z-order...) only existed at Databricks (before 2.0)
Same table for batch and streamingAdoption figures published by Databricks itself
UniForm: readable as Iceberg or HudiUniForm is read-only from the Iceberg and Hudi side

Place in the system​

Direct competitor of Iceberg and Apache Hudi, which also rely on Parquet files described by a metadata layer. The paper compares it with Hive ACID, which tracks table state in the Hive metastore. Delta Lake is read and written by Spark; Trino reads it through a connector that reads the transaction log directly.

Sources​

To do
  • Genesis: the paper dates the design to 2016 and customer delivery to 2017, while the 2022 post mentions a conversation at Spark Summit 2018. To settle with another primary source.
  • Exact date of the final Delta 2.0 release (only the June 2022 announcement is sourced).
  • Detailed comparison between Delta, Iceberg and Hudi.
  • All adoption figures are self-reported by Databricks.