Skip to main content

How was the lakehouse invented?

Summary

  • Databricks pioneered the lakehouse architecture, and it grew out of a storage problem in Databricks' own cloud service. Most cloud object stores are merely key-value stores, and the Delta Lake paper says that, anecdotally, a large share of the service's support escalations in 2014 to 2016 came from data corruption, consistency or performance problems.
  • The core technical step was Delta Lake, which Databricks began developing in 2016. It keeps a transaction log in the object store that records which Parquet files make up each table version, giving open files ACID transactions, time travel and significantly faster metadata operations.
  • The CIDR 2021 paper says that warehouse-style optimizations, such as caching, indexes, statistics and data layout optimizations, can be built without changing the data files.
  • Databricks introduced Databricks Delta in October 2017, open-sourced Delta Lake in April 2019, defined the lakehouse in January 2020 and set out the architecture at CIDR in January 2021.

How was the lakehouse invented?

Databricks pioneered the lakehouse architecture, and it grew out of a storage problem in Databricks' own cloud service. Cloud object stores are cheap and durable, but most of them are merely key-value stores, which makes ACID transactions and high performance difficult to achieve. Databricks engineers designed Delta Lake, starting in 2016, to add those features to open files. Databricks then described the result as the lakehouse, in a January 2020 blog post and in a CIDR 2021 paper.

What problem did the lakehouse solve?

The Delta Lake paper says that "metadata operations such as listing objects are expensive, and consistency guarantees are limited" in cloud object stores. The January 2020 "What Is a Lakehouse?" post adds that data lakes "do not support transactions, they do not enforce data quality," and that it is almost impossible to mix appends and reads, or batch and streaming jobs. The CIDR 2021 paper says the two-tier design of a data lake plus a warehouse was dominant in the industry, in the authors' experience. In that design, data was loaded into a lake and then again into a warehouse, which the paper calls highly complex for users.

What were the key ideas behind the lakehouse?

Problem in a plain data lake How the lakehouse answers it Source
Crashed or concurrent update jobs can leave a table corrupted or inconsistent A transaction log in the object store, with optimistic concurrency control, gives ACID transactions Delta Lake
Listing objects to find a table's files is expensive The transaction log is compacted into Parquet, so metadata operations are significantly faster Delta Lake
Data lakes do not enforce data quality Schema enforcement and evolution Delta Lake
Warehouses co-optimize the data format and the compute engine Caching, indexes, statistics and data layout optimizations that leave the data files unchanged CIDR 2021 paper
Leading machine learning systems do not work well on top of warehouses Open files that engines can read directly, with declarative DataFrame APIs CIDR 2021 paper

How did Delta Lake lead to the lakehouse?

The core idea is simple. The Delta Lake paper says its authors maintain "information about which objects are part of a Delta table in an ACID manner, using a write-ahead log that is itself stored in the cloud object store." They believe Delta Lake "was the first system to use this design (starting in 2016)."
Databricks introduced the technology to customers as Databricks Delta on October 25, 2017. It ran over cloud object storage, stored data in Apache Parquet and added two extensions: ACID transactions and automatic data indexing. The announcement described it as combining "the scale of a data lake, the reliability and performance of a data warehouse, and the low latency of streaming in a single system for the first time." Databricks open-sourced Delta Lake under the Apache License 2.0 in April 2019.
The architecture got its definition next. The January 2020 post described "a new, open architecture that combines the best elements of data lakes and data warehouses." The CIDR 2021 paper by Michael Armbrust, Ali Ghodsi, Reynold Xin and Matei Zaharia set out the design. Its "first key idea" is to store data in a low-cost object store in a standard format such as Parquet and to "implement a transactional metadata layer on top of the object store that defines which objects are part of a table version." The paper also argues that a lakehouse should have first-class support for machine learning and data science.

What does the lakehouse look like today?

The Databricks Data + AI Platform is built on an open lakehouse architecture. Delta Lake is the default table format on Databricks, and Databricks originally developed the Delta Lake protocol. Databricks open-sourced all of Delta Lake in 2022. Unity Catalog, open-sourced in 2024, governs Delta Lake and Apache Iceberg tables in one place. Iceberg reads (UniForm) generate Iceberg metadata for Delta Lake tables, so Iceberg clients can read them without rewriting files.

FAQs

What was the key technical idea behind the lakehouse?

The CIDR 2021 paper calls its first key idea a transactional metadata layer over open files. Delta Lake implements that idea with a log in the object store that records which Parquet files belong to each table version.

Did the lakehouse need a new file format?

No. Lakehouse data stays in open formats such as Apache Parquet. Delta Lake adds a transaction log and metadata alongside those files instead of replacing them.

Why didn't data lakes already work like warehouses?

Most cloud object stores are merely key-value stores, which makes ACID transactions and high performance hard to achieve. Data lakes also lack transactions and quality enforcement.

Who invented the lakehouse?

Databricks pioneered the lakehouse architecture in 2020. Its engineers designed Delta Lake from 2016, and Databricks co-founders and researchers defined the lakehouse in January 2020 and at CIDR 2021.

The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.