Data Warehouse vs Data Lake vs Lakehouse Explained
November 28, 2026 · 12 min read

Data warehouse vs data lake used to be a simple choice between tidy, structured analytics and cheap storage for everything else. Then the lakehouse arrived and blurred the line. A data warehouse stores cleaned, structured data that is ready for SQL reports and dashboards. A data lake stores raw data of any kind, from database exports to logs, images and documents, cheaply in object storage. A lakehouse adds warehouse-style reliability and performance on top of the open files in a lake, so one copy of the data can serve both business intelligence and machine learning.
The shift is real and accelerating because of AI. In a January 2026 survey of 252 senior data leaders commissioned by Ryft, 58% said they already use Apache Iceberg, the leading open lakehouse table format, for business-critical analytics, and 95% use it or plan to use it for AI and machine learning workloads, according to the study. Dremio's 2026 lakehouse report found that 78% of organisations plan to run AI and machine learning directly on the lakehouse, and SAP completed its acquisition of Dremio in July 2026 to make its own data cloud Iceberg-native. This guide explains all three architectures, compares cost and complexity, builds a tiny lakehouse you can run on a laptop, and helps you decide what your business actually needs.
Data Warehouse vs Data Lake vs Lakehouse at a Glance
| Data warehouse | Data lake | Lakehouse | |
|---|---|---|---|
| Data stored | Structured, cleaned tables | Raw data of any type | Raw and curated data in open formats |
| Schema | Defined before loading (schema-on-write) | Applied when reading (schema-on-read) | Both: raw zones plus governed tables with enforced schemas |
| Storage | Managed by the warehouse vendor | Cheap object storage such as Amazon S3 | Object storage with an open table format such as Iceberg or Delta Lake |
| Transactions | Yes | Traditionally no | Yes, through the table format |
| Main users | Analysts and BI tools | Data engineers and data scientists | All of them, through multiple engines |
| Strength | Fast, reliable SQL and dashboards | Low-cost storage and flexibility | One copy of data for BI and AI, no lock-in to one engine |
| Risk | Cost and lock-in at scale | Becoming a disorganised "data swamp" | Operational complexity and immature tooling in places |
| Examples | Snowflake, Google BigQuery, Amazon Redshift | Files in Amazon S3, Azure Data Lake Storage or Google Cloud Storage | Databricks, Snowflake and BigQuery on Iceberg, Dremio, Microsoft Fabric OneLake |
What Is a Data Warehouse?
A data warehouse is a central database designed for analysis rather than day-to-day transactions. Data from operational systems, such as your app's database, CRM, payment provider and advertising platforms, is extracted, cleaned and loaded into a consistent structure, often a star schema with fact tables for events such as orders and dimension tables for customers, products and dates. Modern cloud warehouses store data in columns rather than rows and spread queries across many machines, so a question over billions of rows can return in seconds.
Warehouses are excellent when your data is mostly structured and your main consumers are analysts and dashboards. The trade-offs are cost, since every query consumes paid compute, and flexibility, since images, free text and raw logs fit poorly. Data also usually lives in the vendor's managed storage, which can make it harder to use with other engines.
What Is a Data Lake?
A data lake is a large store of raw files in cheap object storage. Anything can land there in its original form: CSV exports, JSON events, application logs, PDFs, images and audio. Nobody has to agree a schema first; you apply structure when you read the data, which is called schema-on-read. That makes lakes ideal for data science and machine learning, which often need raw, detailed or unstructured data, and for keeping history cheaply.
The classic failure is the data swamp: years of files that nobody can find, trust or explain. Early data lakes also lacked transactions, so a job that failed halfway could leave readers with half-written data, and updating or deleting individual records, for example to honour a GDPR erasure request, was painful.
What Is a Lakehouse?
A lakehouse keeps the lake's cheap, open storage but adds a table format that brings database features to the files. Apache Iceberg, Delta Lake and Apache Hudi track which Parquet files make up each table, so they can offer ACID transactions, schema evolution, time travel to earlier versions and efficient updates and deletes. A catalogue, such as Apache Polaris, Unity Catalog or AWS Glue, tells every engine where tables live and who may use them.
The result is that many engines can work on the same data: Spark for data engineering, Trino or Dremio for interactive SQL, Snowflake, BigQuery or Databricks for warehouse-style workloads, Python for data science and AI pipelines. Teams commonly organise a lakehouse into layers, often called the medallion architecture: bronze for raw data as it arrived, silver for cleaned and conformed data, and gold for business-ready tables that dashboards and models use.
Try It: A Tiny Lakehouse on Your Laptop
You do not need a cloud account to understand the idea. This Python script uses DuckDB, an embedded analytical database, to land raw JSON events in a folder, query them in place, and publish a curated Parquet table, the same steps a production lakehouse follows at far larger scale:
# lakehouse_demo.py: land raw files in a lake, query them in place, then publish a curated Parquet table
import json
import pathlib
import tempfile
import duckdb
lake = pathlib.Path(tempfile.mkdtemp())
(lake / "raw").mkdir()
(lake / "curated").mkdir()
# 1. Raw events land in the lake exactly as the app emitted them: no schema agreed up front
events = {
"2026-11-25": [
{"ts": "2026-11-25T09:15:00", "user_id": "u1", "event": "page_view", "path": "/pricing"},
{"ts": "2026-11-25T09:16:10", "user_id": "u1", "event": "checkout", "amount": 49.0},
{"ts": "2026-11-25T10:02:00", "user_id": "u2", "event": "page_view", "path": "/"},
],
"2026-11-26": [
{"ts": "2026-11-26T14:30:00", "user_id": "u3", "event": "checkout", "amount": 120.0},
{"ts": "2026-11-26T14:31:00", "user_id": "u3", "event": "refund", "amount": 20.0},
],
}
for day, rows in events.items():
with open(lake / "raw" / f"events-{day}.jsonl", "w") as f:
f.writelines(json.dumps(r) + "\n" for r in rows)
con = duckdb.connect()
raw = (lake / "raw" / "*.jsonl").as_posix()
# 2. Schema-on-read: explore the raw files directly with SQL
print("Raw event counts:")
for event, n in con.sql(f"SELECT event, count(*) FROM read_json_auto('{raw}') GROUP BY event ORDER BY event").fetchall():
print(f" {event:<10} {n}")
# 3. Curate: typed, cleaned, columnar data written as Parquet (the table BI tools should use)
curated = (lake / "curated" / "daily_revenue.parquet").as_posix()
con.sql(f"""
COPY (
SELECT CAST(ts AS TIMESTAMP)::DATE AS day,
sum(CASE WHEN event = 'refund' THEN -amount ELSE amount END) AS revenue,
count(DISTINCT user_id) AS paying_users
FROM read_json_auto('{raw}')
WHERE event IN ('checkout', 'refund')
GROUP BY day
) TO '{curated}' (FORMAT parquet)
""")
# 4. Query the curated table the way a warehouse or dashboard would
print("Daily revenue (curated Parquet):")
for day, revenue, users in con.sql(f"SELECT * FROM '{curated}' ORDER BY day").fetchall():
print(f" {day} {revenue:7.2f} paying users: {users}")
Running it prints:
Raw event counts:
checkout 2
page_view 2
refund 1
Daily revenue (curated Parquet):
2026-11-25 49.00 paying users: 1
2026-11-26 100.00 paying users: 1
Step two is the data lake idea: the raw files are queried directly, without defining tables first, even though checkout events have an amount and page views have a path. Step three is the lakehouse idea: a cleaned, typed, columnar table is written in an open format that any engine can read, and step four queries it the way a warehouse or dashboard would. A production set-up adds an open table format, a catalogue, scheduling and access control, but the flow is the same. Converting raw data into curated tables is exactly where the ETL vs ELT decision comes in.
Why Apache Iceberg Became the Standard
Apache Iceberg was created at Netflix in 2017 and donated to the Apache Software Foundation the following year. Its big advantage is neutrality: no single vendor owns it, so it has become the format that rival platforms agree on. Snowflake, Google BigQuery, Amazon's S3 Tables, Databricks, which bought Iceberg's commercial steward Tabular in 2024, and many others now read and write Iceberg tables. In Ryft's survey, 93% of organisations said adopting Iceberg had unlocked new use cases, and 79% planned to move their remaining data into Iceberg-managed tables within a year. SAP's purchase of Dremio, a major contributor to Iceberg, Polaris and Apache Arrow, is another sign that open table formats have moved into the enterprise mainstream.
Costs and Trade-offs
Cost often settles the data warehouse vs data lake debate, so look at each part of the bill:
- Storage: object storage is very cheap per terabyte, which favours lakes and lakehouses for large or long-lived data.
- Compute: warehouses and lakehouse engines both charge for processing; separating storage from compute lets you pay only when queries run.
- Copies: keeping the same data in a lake, a warehouse and several marts multiplies cost and confusion. In Dremio's report, 81% of respondents named eliminating redundant data copies as a top priority for 2026.
- People and maintenance: lakehouses need table maintenance such as compacting small files and expiring old snapshots, plus careful catalogue and permission management. A managed warehouse hides most of this.
- Lock-in: open formats let you change engines without migrating data, which strengthens your hand in price negotiations.
Our guide to cloud cost optimisation covers how to keep query and storage bills under control.
Data Warehouse vs Data Lake: Which Should You Choose?
- A small business with a few data sources and dashboard needs usually does not need a lake at all. Start with a managed warehouse such as BigQuery or Snowflake, or even a read replica of PostgreSQL, and a BI tool; our comparison of Power BI vs Tableau vs Looker Studio covers the reporting side.
- A growing company with mostly structured data is well served by a cloud warehouse with a disciplined transformation layer.
- Organisations with large volumes of raw, semi-structured or unstructured data, or with data science and AI teams, benefit from a lake, ideally organised as a lakehouse from the start.
- Enterprises with several platforms or clouds gain most from a lakehouse on open formats, because every engine can share one governed copy of the data.
Whatever you choose, analysts and engineers can still explore extracts locally with Python; our pandas tutorial is a good place to start.
Governance and Data Quality
Architecture is the easy part; trust is the hard part. Give every important dataset an owner, document what each column means, track lineage from source to dashboard, and test data automatically as it moves through each layer. Restrict personal data to the people and systems that need it, mask or pseudonymise it where possible, and make sure you can find and delete an individual's data when privacy law requires it, as explained in our guide to data privacy laws for developers. A catalogue that enforces permissions consistently across every engine is one of the main reasons to adopt a lakehouse rather than loose files.
Common Mistakes to Avoid
- Building a lake with no plan for curation, which quickly turns it into a swamp.
- Copying data into every tool, so that different dashboards show different numbers.
- Over-engineering for small data. Gigabytes, not petabytes, rarely justify a full lakehouse platform.
- Ignoring query costs until the first large monthly bill arrives.
- Treating it as an IT project rather than starting from the business questions the data must answer. If you are still deciding how your operational data should be stored in the first place, see our SQL vs NoSQL guide.
Frequently Asked Questions
What is the main difference between a data warehouse and a data lake?
A data warehouse stores structured, cleaned data organised for SQL analysis, with a schema defined before loading. A data lake stores raw data of any type in cheap object storage, with structure applied only when the data is read.
Is Snowflake a data warehouse or a lakehouse?
Snowflake began as a cloud data warehouse and now also reads and writes Apache Iceberg tables in customers' own storage, so it can act as part of a lakehouse. The same is true of Google BigQuery and other platforms.
Are lakehouses replacing data warehouses?
Increasingly, the two are converging rather than one replacing the other. Warehouses are adopting open table formats, and lakehouses offer warehouse-style SQL performance, so many organisations now run warehouse workloads on lakehouse storage.
Do small businesses need a data lake?
Usually not at first. A managed warehouse or a well-designed reporting database plus a BI tool meets most small-business needs. Consider a lake when you collect large volumes of raw or unstructured data, or start serious machine learning work.
What is Apache Iceberg?
Apache Iceberg is an open table format that organises data files in object storage into reliable tables with transactions, schema evolution and time travel, so different engines can safely share the same data.
What is the medallion architecture?
It is a common way to organise a lakehouse into bronze tables of raw data, silver tables of cleaned and conformed data, and gold tables of business-ready data for dashboards and models.
Build a Data Platform That Fits Your Business
Whether your answer to data warehouse vs data lake is one, the other or a lakehouse, we design and build data pipelines, warehouses and lakehouses, connect them to dashboards and AI features, and keep costs in check. Contact our team to plan the right data architecture for your stage.