Data lakes explained in one sentence: a data lake is a central store that holds raw data in its native format until it is needed. Unlike a traditional warehouse, it does not force data into a fixed shape before it is stored, so text, images, logs and tables can all sit side by side.
The central question is when this flexibility is worth the extra discipline it demands. The short answer is that a data lake suits teams that work with large volumes of varied, fast-changing data and want to keep their options open, because raw data can be shaped in many different ways later. A warehouse suits teams that need fast, consistent answers to well-defined questions from tidy, structured data.
Key takeaways
- A data lake stores raw data in its native format, including structured, semi-structured and unstructured data.
- It applies schema on read, so structure is defined when a question is asked, not when data arrives.
- A data lake complements a data warehouse; it does not replace it.
- You need one when raw data, machine learning or exploration matter more than fixed reporting.
What is a data lake?
A data lake is a central repository that stores data in its raw, native format. Structured data such as sales records sits alongside semi-structured data such as JSON logs and unstructured data such as images, audio and video. Nothing is transformed or discarded on arrival, so the original detail is preserved for whatever questions come later.
The term was popularised by James Dixon, then chief technology officer at Pentaho, who described it in 2010 as a place where data sits in its natural state until it is needed. The idea caught on because storage had become cheap enough to keep everything, while the range of data types had grown far beyond neat rows and columns.
That freedom is the point and also the risk. A lake accepts data quickly because it asks little of it on arrival, but it gives nothing back unless someone organises, catalogues and governs what is inside. Without that discipline, a lake drifts into what practitioners call a data swamp.
How a data lake stores raw data
Most modern data lakes are built on low-cost object storage, such as Amazon S3, Azure Data Lake Storage or Google Cloud Storage. Files land in the lake in their original format, often in folders organised by source, date or subject, and each file keeps its full detail. The metadata that describes each dataset, including its source, its shape and its owner, matters as much as the data itself.
The lake applies schema on read rather than schema on write. A warehouse defines the structure of data before it is loaded, which makes queries fast but rejects or reshapes anything that does not fit. A lake stores first and defines structure later, when a specific question is asked, which means the same raw data can be read in different ways by different teams.
Open file formats keep the lake portable. Columnar formats such as Apache Parquet and ORC suit analytical queries, while row-based formats such as Avro suit streaming data and JSON suits semi-structured records. Processing engines such as Apache Spark read these files directly, so teams can query the lake without first moving data into another system.
Data lake versus data warehouse
A data warehouse is built for a different job. It stores cleaned, structured data in tables with a fixed schema, and it is tuned for fast, repeatable reporting and business intelligence. Every record is checked, transformed and loaded before it arrives, so the answers it gives are consistent and trustworthy.
The trade-off is flexibility. A warehouse struggles with raw text, images and sensor streams, and it takes real work to add a new source or change the shape of the data. A lake handles all of that easily, but queries can be slower and results can vary unless the data has been catalogued and cleaned.
Many organisations now run both. Raw data lands in the lake, curated datasets are prepared from it, and the most important of those move into a warehouse for reporting. That pattern is worth understanding before choosing a platform, and a guide to vector databases explained shows how a related storage idea works for AI search.
| Feature | Data lake | Data warehouse |
|---|---|---|
| Data stored | Raw data in native format: structured, semi-structured and unstructured | Cleaned, structured data in tables |
| Schema | Schema on read: structure applied when queried | Schema on write: structure fixed before loading |
| Best for | Machine learning, exploration, varied and large-scale data | Reporting, dashboards and consistent business metrics |
| Cost pattern | Storage and compute billed separately; storing raw data is inexpensive | Pricing tied to storage and query compute, often higher for large volumes |
What is a data lakehouse?
A data lakehouse combines the two approaches. It keeps the cheap, flexible storage of a lake and adds warehouse-style features on top, such as transactions, data quality checks and faster queries over open file formats. The aim is one platform that serves both exploration and reporting.
Table formats such as Apache Iceberg, Apache Hudi and Delta Lake provide that middle layer. They track which files belong to a table, which versions exist and which rows have changed, so queries can run reliably over data that still lives in the lake. Whether a lakehouse replaces a separate warehouse depends on the team’s query patterns and the maturity of the tooling they choose.

When to use a data lake
A lake fits teams that collect more data than they can define in advance. Sensor readings, application logs, clickstreams, support tickets and media files all arrive in different shapes, and a lake accepts them without a modelling project first.
It also fits machine learning work. Models train best on raw, detailed data, and data scientists often need to try new features and new questions that no warehouse table anticipated. A lake keeps the full history available, so teams can reprocess it as their methods change.
A warehouse is the better choice when the questions are known and the data is tidy. Monthly sales reports, financial reconciliations and operational dashboards all benefit from the speed and consistency of a warehouse. The deciding question is simple: do you need to explore raw data, or do you need reliable answers to fixed questions?
How much does a data lake cost?
The cost of a data lake is usually split between storage and compute. Raw storage in cloud object stores is inexpensive per unit, which is why lakes can hold far more data than a warehouse. Compute is the variable part: every query, transformation and training run consumes processing, and that consumption depends on how much data is scanned and how often.
That split is both the attraction and the trap. Storing everything costs little, but ungoverned querying can scan huge volumes and run up a bill. Cost controls include partitioning data so queries read only the relevant files, using columnar formats, and setting budgets and alerts on the cloud account.
Cloud platforms are the usual home for a data lake, and the way enterprise teams adopt them shapes both cost and architecture. Our guide to cloud computing for enterprises covers the models, migration paths and governance choices that frame a lake project.
Checklist: deciding whether you need a data lake
- You collect large volumes of data in more than one format.
- You need raw data for machine learning or exploration, not just tidy reports.
- New data sources arrive often, and you cannot model them all in advance.
- You have staff who can catalogue, govern and maintain the data.
- You can keep the lake organised, with clear ownership for each dataset.
- Your query patterns vary, and different teams ask different questions of the same data.
- You have a plan for data quality, access control and retention.
- You need to keep history that a warehouse would discard or reshape.
Common pitfalls
The classic failure is the data swamp. A lake with no catalogue, no owners and no quality checks fills with files nobody can find or trust. The fix is governance from the start: every dataset gets an owner, a description and a freshness check.
A second pitfall is treating the lake as a warehouse. Teams run dashboards directly against raw files, then complain that results are slow or inconsistent. The answer is to build curated layers on top of the raw zone, so reporting reads clean, tested datasets.
A third pitfall is keeping everything forever. Raw storage is cheap, but unmanaged retention creates legal risk and clutter. Agree retention rules when a dataset arrives, not years later.
Frequently asked questions
What is a data lake?
A data lake is a central store that holds raw data in its native format, including structured, semi-structured and unstructured data. It applies structure when data is queried, rather than when it is loaded.
How is a data lake different from a data warehouse?
A data warehouse stores cleaned, structured data in tables with a fixed schema, tuned for fast reporting. A data lake stores raw data in any format and defines structure at query time, which suits exploration and machine learning.
What is a data lakehouse?
A data lakehouse adds warehouse features, such as transactions and data quality checks, to lake storage. It aims to serve both exploration and reporting from one platform, using open table formats such as Apache Iceberg, Apache Hudi and Delta Lake.
What is a data swamp?
A data swamp is a data lake that has become unusable because nobody catalogued, governed or maintained it. Files pile up without owners or descriptions, so teams cannot find data they can trust.
What data can go into a data lake?
Almost any kind: database tables, logs, JSON records, sensor streams, documents, images, audio and video. The lake accepts data in its original format, which is what makes it useful for varied and fast-changing sources.
Do small teams need a data lake?
Usually not. A small team with tidy data and known questions is better served by a warehouse or even a well-organised database. A lake earns its keep when volume, variety or machine learning needs outgrow those simpler options.
The bottom line
A data lake is a place to keep raw data in its native form, ready to be shaped into answers when a question arrives. It suits teams with varied, fast-changing data and with the discipline to catalogue and govern it. Used well, it powers exploration and machine learning that a warehouse cannot.
It is not a replacement for a warehouse, and it is not a shortcut. If your questions are fixed and your data is tidy, a warehouse will serve you better. If your data is varied, your questions keep changing, and you have the governance to keep the lake clean, a data lake is the right foundation.







