Data lake

A data lake is a central repository that stores large amounts of data in its raw, original format, structured or not, so it can be analysed or used for machine learning later.

A data lake is a store for data kept in its natural, raw form, usually as files or objects. It can hold neatly structured tables, semi-structured logs, documents, images and video side by side, on a company's own servers or in the cloud. AWS describes it as a central repository for all structured and unstructured data at any scale.

The term was coined by James Dixon, then chief technology officer of the software company Pentaho, by 2011. He used it to contrast with data marts, smaller stores holding only selected attributes taken from the raw data. Common storage systems for data lakes include Amazon S3, Google Cloud Storage and the Hadoop Distributed File System.

The clearest way to understand a lake is by comparison with a data warehouse. A warehouse decides the structure of its data in advance and cleans and transforms everything before loading it, which makes it reliable for standard reports. A lake stores data as it arrives and applies structure only when someone analyses it, which keeps options open for questions nobody has thought of yet. AWS notes that a typical organisation needs both.

That openness is also the risk. A lake without cataloguing, access controls and governance becomes what critics call a data swamp: so much undocumented data that nobody can find what they need or trust what they find. Data can also lose the context it was collected in, which raises particular problems for consent in medical settings. The data lakehouse design grew out of these problems, keeping the lake's flexible raw storage while adding warehouse-style guarantees such as reliable transactions and enforced data quality.

For AI, data lakes are often where training and retrieval material is found: years of logs, documents and customer records kept just in case. Whether that material is usable depends less on the size of the lake than on whether anyone recorded what it holds, where it came from and what it may be used for.

Common questions

What is a data lake?

A data lake is a storage system that keeps large volumes of data in its original, raw form, whether structured tables or unstructured files such as documents, images and logs, so it can be processed and analysed later as needs arise.

What is the difference between a data lake and a data warehouse?

A data warehouse stores cleaned, structured data in a format decided in advance, which suits standard reporting. A data lake stores raw data of any type and applies structure only when it is analysed, which suits exploration and machine learning. Many organisations use both.

What is a data swamp?

A data swamp is a data lake that has become unusable because data was poured in without cataloguing, documentation or governance. Users cannot find what they need or trust what they find, so the stored data delivers little value.

What is a data lakehouse?

A data lakehouse is a hybrid design that stores varied raw data like a lake but adds features associated with warehouses, such as reliable transactions and enforced data quality, so the same store can serve both analysis and machine learning.

Finding more

Search for "data lake vs data warehouse", "data swamp" or "data lakehouse" to compare the designs. Reliable sources include documentation from cloud providers such as AWS, Google Cloud and Microsoft Azure, open-source project documentation and independent textbooks on data engineering. Vendor comparisons tend to favour the architecture they sell, so check claims against more than one provider.

  • Data lakeReferenceDefinition, the origin of the term, common storage systems, the data swamp criticism and the lakehouse.
  • What is a data lake?OfficialAWS's explanation of data lakes, a comparison with data warehouses and the governance needed to avoid a swamp.

Working out what this means for your business?

Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.