Skip to content

Data lake

Also called: data lakes

Published:

What makes a data lake different?

Microsoft describes a data lake as storage that holds large volumes of data in its native, raw format and scales cost-effectively from terabytes to petabytes [1]. Relational tables, semi-structured files such as JSON, XML or logs, and unstructured images, audio and video can all sit side by side [1]. AWS makes the same point from another angle: you can store data without defining its shape first, and without knowing which questions you will ask later [2].

How does it differ from a data warehouse?

The difference is when structure is applied. A lake keeps data untransformed and applies structure only when the data is needed, an approach called schema-on-read. A warehouse applies structure as data is ingested, which is schema-on-write [1]. In Microsoft's comparison, lakes cost less to store data in but carry higher latency because processing happens at query time, while warehouses suit BI and reporting [1]. AWS notes that many organisations run both [2].

Where is it used, and where does it go wrong?

Microsoft recommends lakes for exploratory analytics, advanced data science and machine learning, and points to IoT and event streams as a natural fit [1]. A concrete case: a factory writes raw sensor readings to its lake, and a year later, when someone wants to build a failure-prediction model, the history is already there.

The known failure mode is the data swamp. Without cataloguing, security and governance, a lake fills with data that is hard to find and hard to trust [2]. Microsoft gives the same warning about lakes that lack proper cataloguing [1].

Frequently asked questions

Does a data lake replace a data warehouse?

Usually not. AWS says many organisations use both, and a lake often feeds raw data into a warehouse.

What is a data swamp?

A data lake without cataloguing, security and governance, where the data is present but hard to find or trust.

Sources

  1. What Is a Data Lake? — Microsoft Learn
  2. What is a Data Lake? — AWS