A data lake with warehouse features on top: tables, transactions and fast queries.
A data lakehouse keeps data in cheap lake storage, but adds a table layer on top that gives it the safety and speed of a warehouse.
Many companies ended up with two systems: a lake for raw data and machine learning, and a warehouse for reports. Data was copied from one to the other. This doubled the cost, left two copies that could disagree, and added delay.
The problem with a plain lake is that it is just a folder of files. A job that crashes leaves half-written data. Two jobs can write at once and clash. You cannot safely update or delete a single row, and there is no undo. The lakehouse fixes this with a table format: a set of metadata files that sit next to the data files and track exactly which files make up each version of a table.
The key is the transaction log. To change a table, a job writes its new data files, and then makes one small commit to the log saying "version 2 is these files". Readers only trust the log. Until the commit happens, the new files do not exist as far as readers are concerned. That one trick gives ACID transactions on top of cheap object storage.
| Format | How it tracks a table | Often known for |
|---|---|---|
| Delta Lake | An ordered JSON log of commits, with periodic checkpoints | Close fit with Spark and Databricks, simple log model |
| Apache Iceberg | A tree of metadata, manifest lists and manifest files that point to data files | Broad engine support, hidden partitioning, safe schema evolution |
| Apache Hudi | A timeline of actions on the table, with indexes for records | Fast upserts and incremental pulls (what changed since last time) |
| Data lake (plain files) | Data warehouse | Lakehouse | |
|---|---|---|---|
| Storage | Object storage, open files | Warehouse storage, often proprietary | Object storage, open files |
| Transactions | No | Yes | Yes, through the table format |
| Data types | Anything | Mostly tables | Tables, plus raw files beside them |
| Schema | On read | On write | Enforced, and can evolve |
| Time travel | No | Some systems | Yes, by keeping old versions |
| Best for | Raw storage, ML | BI and reports | Both, from one copy |
A simplified story with no random numbers. Real table formats differ in file layout and details (Delta keeps a JSON log, Iceberg keeps snapshots and manifests, Hudi keeps a timeline), but all of them give readers a consistent snapshot by committing through a log.
| Term | Meaning in easy words |
|---|---|
| Lakehouse | A lake with a table layer that adds warehouse features such as transactions and fast SQL |
| Table format | Metadata that defines which data files make up each version of a table (Delta, Iceberg, Hudi) |
| Transaction log | An ordered record of commits that readers trust to know the current table |
| ACID | Atomic, Consistent, Isolated and Durable: the guarantees of a safe transaction |
| Snapshot | The exact set of files that make up the table at one version |
| Time travel | Reading or restoring an older version of a table |
| Optimistic concurrency | Writers work freely, and a commit fails if someone else changed the table first |
| Compaction | Rewriting many small files into fewer large ones |
| Vacuum / expire snapshots | Deleting data files that no kept version needs any more |
| Schema evolution | Changing a table's columns, such as adding one, without rewriting the table |
| Merge (upsert) | Insert new rows and update existing ones in a single operation |
| Choice | We gain | We lose |
|---|---|---|
| Table format on a lake | Correct, consistent tables | Extra metadata and maintenance work |
| One system instead of lake plus warehouse | No double copy, less delay | Peak speed may trail a fully tuned warehouse |
| Keep many versions | Time travel and easy undo | More storage until vacuum runs |
| Small, frequent commits | Fresh data | Many small files and a long log, so compaction is needed |
| Open formats | Choice of engines, no lock-in | You choose and manage the pieces |
| Managed lakehouse service | Less operations work | Tied to a vendor's way of working |