A store that collects data of every kind — tables from databases, logs, JSON, images, sensor readings — in its original form and in large volumes. The idea is that you don’t have to decide in advance which questions the data will be asked: load everything now, and sort it out when the need arises.
Such a store is needed when the data is diverse and future tasks are unknown: the raw material is kept centrally at low cost, while machine learning, search and SQL queries run directly on top of it. Typical sources include operational databases, application logs, and data from sensors and mobile apps.
Schema on write or schema on read
The key difference from a data warehouse (DWH) is the point at which the structure is fixed. In a DWH the schema is defined in advance: data is cleansed, shaped into a model and loaded ready for reporting. A data lake takes everything as it comes, and the structure is described at the moment of reading.
| Aspect | Data lake | Data warehouse |
|---|---|---|
| Data | structured, semi-structured, unstructured | structured, cleansed |
| Schema | on read (schema-on-read) | on write (schema-on-write) |
| Sources | IoT, logs, mobile apps, social media | operational databases, business applications |
| Scaling | easy and cheap | harder and more expensive |
| Workloads | machine learning, data exploration | core reporting, BI |
Where the term comes from
The term was coined by James Dixon, then CTO of Pentaho, in a blog post dated 14 October 2010. He compared a data mart to bottled water — cleansed and packaged for consumption — and a data lake to a body of water in its natural state: data flows into it from its sources, and users “come to explore, dive in and take samples”.
Typical components
- Storage layer: usually object storage (S3-compatible) or HDFS — cheap and scales easily.
- Data ingestion: batch or streaming loads, often via ETL/ELT pipelines.
- Catalogue: metadata on which datasets are in the lake, where they came from and who owns them.
- Processing engines: Spark, Trino/Presto, ClickHouse — they compute right where the data sits, with nothing moved out.
- Access and quality management: access control and data quality checks.
Risks: a swamp instead of a lake
If everything is dumped into the lake without a catalogue or any rules, it turns into a “data swamp”: nobody knows what is inside, and the data can neither be found nor trusted. AWS calls this the main problem of the architecture: cataloguing, access control and consistency are needed, otherwise the data loses its value.
Lakehouse — the next step
The classic lake lacks transactions and versioning: updating a row or deleting data to comply with GDPR across a pile of raw files is awkward. A lakehouse adds a transactional layer with ACID guarantees on top of the lake — the Delta Lake, Apache Iceberg and Apache Hudi formats — and SQL queries then run directly on the raw files.
Sources
the term is written from these pages- AWS — What is a Data Lake?aws.amazon.com/what-is/data-lake/(opens in a new tab)
- Microsoft Azure — What is a Data Lake?azure.microsoft.com/en-us/resources/cloud-computing-dictionary/what-is-a-data-lake(opens in a new tab)
- James Dixon — Pentaho, Hadoop, and Data Lakes (2010)jamesdixon.wordpress.com/2010/10/14/pentaho-hadoop-and-data-lakes/(opens in a new tab)
Verified 18 Nov