What need gave rise to the data lakehouse?
The lakehouse emerged to reduce the burden of managing the warehouse and the lake as two separate worlds. For a long time, organizations worked with a two-part setup: a data warehouse holding cleaned tabular data for management reporting, and a data lake for storing raw, varied data at low cost and running data science work.
In this setup, the same data was copied to two places, two different security models had to be managed, and reports and analytics outputs sometimes did not match. The lakehouse aims to close this gap by bringing the strengths of both structures under one roof.
What components does a data lakehouse rely on?
A lakehouse is built on four building blocks:
- Low-cost storage Data sits in a low-cost, flexible environment such as object storage.
- Open table formats The table layer on top of storage brings the capabilities familiar from data warehouses: safe updates (ACID transactions), the ability to go back to earlier versions (time travel) and schema enforcement.
- Decoupled compute The capacity of query engines can be scaled up or down independently of storage.
- Centralized governance Access permissions, the data catalog and data lineage are managed centrally.
In which layers is data organized in a lakehouse?
Most lakehouse implementations organize data in three layers, with quality increasing at each step. This structure is also known as the "medallion architecture"; some platforms call the layers "bronze, silver and gold."
| Layer | What happens in this layer? |
|---|---|
| Raw layer | Data transferred from source systems is archived without any changes. |
| Cleaned layer | Records are cleaned, brought to a common standard and matched with their counterparts in other sources. |
| Business layer | Data is organized around business metrics and made available for reporting and AI use. |
When is a data lakehouse the preferred choice?
A lakehouse stands out especially when data types and use cases become more diverse:
- When the data to be analyzed is not just tables, that is, when documents, logs or event records are also involved,
- When the same dataset will feed machine learning and AI projects as well as reporting,
- When data is growing fast and storage costs are rising to the top of the agenda,
- When managing the warehouse and the lake separately leads to inconsistencies and a growing maintenance burden.