Skip to content
Data10 min

Data lake or data warehouse? The question worth asking first

By · co-founder and Chief Executive Officer of Hábil ·

Data lake or data warehouse: what each stores, when it fits and when it makes sense to combine them. Six questions to decide.

In 1 minute

A data warehouse stores data that is already clean and organized, so it can quickly answer the questions that are already known. A data lake stores data as it arrives, of any type and with its full history, for the questions that are not known yet. The first asks you to decide the structure before loading and invests more in preparing the data; the second costs less to store and is more flexible, but without a catalog and rules it can turn into a dump that is hard to search and hard to trust. Today there is a third path, the lakehouse, which brings the two together on open formats. Before choosing the word, it pays to answer six questions about your company.

Imagine a company that sells in branches and online. It is fictional, but it looks like many. Every month, Finance builds the margin report in an Excel file, with data pulled from the system the business runs on. The report takes a while, and each new query slows down the system used for invoicing.

Leadership decides it needs "a separate place for the data". It asks for quotes. One vendor offers a data warehouse; another, a data lake; a third talks about a lakehouse. All three sound good and each presents a different approach. And somebody in the meeting asks what many are thinking: "isn't another database enough?"

This article is for whoever is going to approve that purchase. It makes one point: the decision is not between two words, but between two ways of preparing data; the right one depends on which questions your company has to answer and who is going to ask them.

First: why another database is not enough

The system your company runs on —the ERP, the point of sale, the online store— keeps its data in a database built to operate: record an order in seconds, change a stock level, charge a customer. It does one thing at a time very well, many times a minute.

Analyzing is a different job. "How much did we earn per product line over the last three seasons?" requires reading millions of rows, joining tables the system keeps separately and comparing against the past, which the system has often already overwritten. If that query runs on the operating system, it competes with the day's sales.

Copying the data to another database like the first one moves the problem without solving it: it still has no history, no shared rules and each department calculating in its own way. That is why the data warehouse and the data lake exist: they are separate places, designed for analysis, each with its own philosophy. IBM places the origin of the first in the 1980s, precisely to integrate scattered data in a consistent format [1].

The data warehouse: organize before storing

A data warehouse brings together data from several systems in a central store designed for querying and analysis [1]. Its main trait is that the structure is decided before loading: which tables there will be, what each column means, how each metric is calculated. This is called schema-on-write: the data is cleaned and transformed along the way, and arrives ready to use [2].

What you get:

  • A shared base for your figures. The sources speak of a "single source of truth" [1][4]. To get one, each metric needs an agreed definition and a reviewed calculation; with that, the reports query the same calculation.
  • Fast queries for the questions that are already known, because the data is already organized for them [2][4].
  • Business users who can query without an engineer's help.

What it costs:

  • Deciding a lot up front. If the structure did not anticipate a question, answering it requires changing the structure.
  • More investment in preparing and querying: the warehouse uses compute that is dedicated and optimized for analysis [2].
  • Tables are its strength. It focuses on structured data; it is not ideal for storing large volumes of raw, unstructured data [1].

A widely used method for designing that structure is the dimensional modeling that Ralph Kimball popularized in 1996: facts that are measured (sales, units) and dimensions that give them context (customer, product, date) [5]. That same method has techniques for keeping history, such as periodic snapshots of the figures and dimensions that keep their earlier versions [5].

The data lake: store first, organize on use

A data lake stores large volumes of data in its original form, normally on low-cost storage [2][6]. The structure is applied later, when someone reads the data: schema-on-read [2]. The term was coined by James Dixon around 2010 [7].

What you get:

  • All the history and all types of data: tables, files, events, documents.
  • Flexibility for new questions: if tomorrow someone wants to analyze something nobody anticipated, the raw data is still there.
  • Lower storage cost. Compute is paid for when the data is processed or queried [2].

What it costs:

  • More work when querying. Raw data takes a lot of skill to make sense of; Martin Fowler recommends that hardly anyone query it directly and that ready-made datasets for each use be produced from it [7].
  • Quality that nobody reviewed. If there are no checks at load time, duplicates or unverified data can get in [3].
  • The swamp risk. Without a catalog, rules and access control, the lake can become what the industry calls a data swamp: the data is there, but it is hard to find and to trust [2][4][6].

That is why many lakes are organized in layers: raw, clean and ready for the business; the last one feeds reports and dashboards [2]. Microsoft recommends the lake for exploratory analytics, data science and machine learning [2]. And IBM itself warns that you may not need one if you do not manage large volumes of semi-structured or unstructured data [6].

In a table

In a table
Data warehouseData lake
What it storesMostly structured data, already cleanData of any type, as it arrives
When the structure is decidedBefore loadingWhen reading
For which questionsThe ones already knownAlso the ones not known yet
Who queries itBusiness areas and analystsThe raw data, technical teams; the prepared layers, business too
Where the cost isIn preparing and queryingStoring is cheap; you pay when processing and querying
Main riskRigidity in the face of new questionsBecoming a data swamp

Summary of sources [1], [2], [3], [4] and [6].

When it makes sense to combine the two

The answer from the big vendors is not usually "one or the other". AWS writes that a typical organization requires both, because they serve different needs [4], and describes a common arrangement: the data enters the lake first, and from there some prepared datasets move to the warehouse for each use [3].

That arrangement meets different needs, but it adds copies, processes and control points. A 2021 academic paper describes it bluntly: you pay for the storage of the data copied to the warehouse, what is in the warehouse can lag behind what is in the lake, and many commercial warehouses keep the data in proprietary formats [8]. That makes switching vendors more expensive, so it pays to check the way out before signing.

The third path: the lakehouse and open formats

The lakehouse is born from that discomfort. The idea is to reduce copies: store the data on low-cost storage and in open formats, and add on top what used to come only from the warehouse: transactions, versions, auditing and fast queries [8]. IBM and Microsoft describe it the same way: the flexibility and low cost of the lake with the performance of the warehouse [1][9].

What makes it possible is a layer that records which files make up each table and which version is being queried: an open table format. Apache Iceberg is one example, designed for huge volumes of analytic data [10]. In business terms, it allows four things:

  • Changes that are complete or not applied at all. Whoever queries does not see a half-finished load [10][11].
  • Seeing how your numbers stood on a given date. Each change leaves a version of the table, and an earlier one can be queried, such as the one from the last close [10], as long as that version is kept: how long versions are kept is a rule that is configured [11].
  • Going back to a good version if a load went wrong, with control over who can do it [10].
  • Changing the structure without redoing everything: adding or renaming a column does not force you to reload the history [10].

And since the format is an open specification, designed so that different implementations are compatible [10], the tools that support it can read the same data. Before contracting, it pays to verify this with the tools your company already uses and with an exit test.

An honest warning: the academic paper that proposed the term was written by researchers at a company that sells lakehouse [8], and AWS, IBM and Microsoft also sell these platforms. That is why only their definitions are used here, which agree with one another, and not their market figures.

Six questions to decide

Before choosing the word, answer this with your team:

1. Which questions do you have to answer this year?

If they are the usual ones —margin per line, sales per season, overdue receivables—, you need what a warehouse provides: organized data, metrics with a single rule and fast queries. If there are also questions nobody has asked yet, it pays to store the raw data too.

2. Who is going to ask them?

If Leadership, Finance and Sales ask them from Excel or Power BI, the data has to reach them ready to use. Raw data is for technical teams; putting it in front of the business unprepared can lead to the swamp.

3. Do you need the full history?

Many systems keep only today's state: the current price, the current stock. If you want to know how your numbers stood on a given date, define from now on which changes are kept and for how long. A lake or a lakehouse keeps the raw data and its versions; a warehouse can also keep history for the metrics the report needs, if it is designed for that.

4. What types of data do you have?

If almost everything is a table —sales, inventory, customers—, a warehouse is enough. If there are documents, events from the online store or machine logs, the lake or the lakehouse takes them in without forcing them into a table.

5. What happens if you want to change vendors?

Ask in what format your data ends up and whether another tool could read it without the vendor. If the answer is no, the cost of leaving is part of the price, even if it does not appear in the quote.

6. What result do you start with, and what does it cost to set up and run?

Define a first decision you want to improve, the few systems that feed it and how you will know the result is correct. Ask for scope, deliverables, business and systems owners, initial cost and recurring cost. In our experience, the size of the company weighs less than the complexity of its data and the decision you want to improve.

The signs that you chose the word before the problem

  • The quote talks about terabytes and not about the questions it will answer.
  • Nobody can say which department owns each metric.
  • The plan loads everything into the lake "and we'll see later".
  • The data ends up in a format that only one tool understands.
  • There is no way to check that the report's figure matches the one in the system that invoices.

The first two are not solved by a platform alone, because they are agreements between departments; What to define before buying BI and Before you move a piece of data, name its owner deal with them. The other three do depend on how it is built.

What Hábil does

At Hábil we start from the questions of your business.

The proposal is in Hábil Lake, your company's data platform, of the Open Data Lakehouse type. It brings together in one place the data from your systems —sales, inventory, customers—, with its full history and already organized. The data arrives in batches or as it happens, is stored in open formats so that you are not tied to a vendor, and passes through three layers: raw, as it arrives; clean and joined; and ready for the business, with the metrics calculated.

On each load, the numbers are reconciled —squared— against the system they came from, and if something does not add up, you see it before using the figure. They reach Excel, Power BI, Looker or Tableau, and each person sees what their role allows. It runs on your infrastructure or ours, with Hábil in charge of operations, and uses open or freely usable components, with no paid enterprise licenses.

In a first conversation, at no cost, we pick the questions in your business that are hardest to answer today. We ask which systems you use, what you want to answer and who is asking; we do not ask for access or for your customers' data. You leave with a map of your data: which system each answer comes from, which metrics have to be defined and whether it makes sense to move forward or not. If it does, the scope, the deliverables and the cost are agreed before starting. Write to us on WhatsApp; to protect your information, do not share data about your customers or your systems through that channel: we will agree in the conversation on the channel for the case.

Request your first conversation, at no cost.

Consulted on 18 November 2026. Each reference carries its confidence.

References

  1. IBM (A. Jonker, J. Holdsworth, M. Kosinski), "What Is a Data Warehouse?", IBM Think (published 16-Dec-2024, updated 3-Nov-2026): "A data warehouse aggregates data from various sources into a central data store optimized for querying and analysis"; "The concept of a data warehouse emerged in the 1980s"; on the lakehouse, "delivering the low‑cost flexibility of a lake alongside the high performance of a warehouse". Opened live on 18-Nov-2026. Confidence: high (vendor; only the definition is used). https://www.ibm.com/think/topics/data-warehouse
  2. Microsoft Learn (A. Prasad), "What Is a Data Lake?", Azure Architecture Center (updated 6-Nov-2026): "This approach is known as schema-on-read. In contrast, a data warehouse enforces structure and applies transformations as it ingests data. This approach is known as schema-on-write"; it recommends the lake "for exploratory analytics, advanced data science, and machine learning workloads"; layers "Raw (bronze)", "Cleansed (silver)" and "Curated (gold)"; "Without proper cataloging, lakes can devolve into data swamps where valuable information is present but inaccessible or misunderstood"; cost and latency table. Opened live on 18-Nov-2026. Confidence: high (vendor). https://learn.microsoft.com/en-us/azure/architecture/data-guide/scenarios/data-lake
  3. AWS, "Data Lake vs Data Warehouse vs Data Mart": "Duplicates or erroneous and unverified data may end up in a data lake if no checks are being done ahead of time"; "Typically, all data is ingested into a data lake then loaded into different warehouses and marts for assorted use cases". Undated. Opened live on 18-Nov-2026. Confidence: medium-high (vendor, undated). https://aws.amazon.com/compare/the-difference-between-a-data-warehouse-data-lake-and-data-mart/
  4. AWS, "What is a Data Lake?": "a typical organization will require both a data warehouse and a data lake as they serve different needs"; without a catalog or security, "data cannot be found, or trusted resulting in a “data swamp.”". Undated. Opened live on 18-Nov-2026. Confidence: medium-high (vendor, undated). https://aws.amazon.com/what-is/data-lake/
  5. Kimball Group, "Dimensional Modeling Techniques": "Ralph Kimball introduced the data warehouse/business intelligence industry to dimensional modeling in 1996 with his seminal book, The Data Warehouse Toolkit"; facts for the measurements and dimensions for the context; among its techniques, "Periodic snapshot fact tables" and "Type 2: Add new row" for keeping earlier versions. Opened live on 18-Nov-2026. Confidence: high. https://www.kimballgroup.com/data-warehouse-business-intelligence-resources/kimball-techniques/dimensional-modeling-techniques/
  6. IBM (A. Jonker, M. Kosinski), "What Is a Data Lake?", IBM Think (updated 4-Nov-2026): "A data lake is a repository designed to store large volumes of raw data, typically using low-cost cloud object storage"; on data swamps, "good data is inaccessible because it lacks metadata, structure and governance"; "You may not need a data lake unless you manage large volumes of semi-structured and unstructured data for AI, machine learning or data science". Opened live on 18-Nov-2026. Confidence: high (vendor; the definition and its warning are used). https://www.ibm.com/think/topics/data-lake
  7. Martin Fowler, "Data Lake", bliki (5-Feb-2015): "The term was coined by James Dixon in 2010"; "The data lake shouldn't be accessed directly very much. Because the data is raw, you need a lot of skill to make any sense of it"; on the data swamp, "The criticism is both valid and irrelevant". Opened live on 18-Nov-2026. Confidence: high. https://martinfowler.com/bliki/DataLake.html Note: IBM [6] dates the term to 2011; that is why the text says "around 2010".
  8. M. Armbrust, A. Ghodsi, R. Xin, M. Zaharia, "Lakehouse: A New Generation of Open Platforms that Unify Data Warehousing and Advanced Analytics", CIDR 2021 (11th Conference on Innovative Data Systems Research): "users pay double the storage cost for data copied to a warehouse, and commercial warehouses lock data into proprietary formats"; it defines the lakehouse as a system on low-cost storage that adds "ACID transactions, data versioning, auditing, indexing, caching, and query optimization". The authors work at Databricks. Opened live on 18-Nov-2026. Confidence: high for the definitions; their performance measurements are not used. https://www.cidrdb.org/cidr2021/papers/cidr2021_paper17.pdf
  9. Microsoft Learn, "What is a lakehouse?", Microsoft Fabric (updated 2-Sep-2026): "A lakehouse in Fabric combines the scalability of a data lake with the querying capabilities of a warehouse". Opened live on 18-Nov-2026. Confidence: high (vendor). https://learn.microsoft.com/en-us/fabric/data-engineering/lakehouse-overview
  10. Apache Software Foundation, "Apache Iceberg — Introduction": "Apache Iceberg is an open table format for huge analytic datasets"; "Time travel enables reproducible queries that use exactly the same table snapshot"; "Version rollback allows users to quickly correct problems by resetting tables to a good state"; "Schema evolution supports add, drop, update, or rename, and has no side-effects"; "readers never see partial or uncommitted changes"; "open community standard with a specification". Opened live on 18-Nov-2026. Confidence: high. https://iceberg.apache.org/docs/latest/
  11. Apache Software Foundation, "Iceberg Table Spec": "Writes will support removing and adding files in a single operation and are never partially visible". It provides for the expiration of old versions ("snapshot expiration"), with a minimum number of versions and a maximum age that are configured. Opened live on 18-Nov-2026. Confidence: high. https://iceberg.apache.org/spec/