One big, cheap place to keep raw data of every kind, to decide what to do with it later.
A data lake is one big, cheap place where you keep raw data of every kind: logs, database exports, images, sensor readings. You decide how to use it later.
Before data lakes, companies loaded data into a data warehouse. That needs a plan up front: which columns, which tables, what the reports will be. Anything not in the plan was thrown away. When a new question came later, the data it needed was often already gone.
A data lake flips this. You store first and decide later. Every source writes its files into the lake in their original form. Later, an analyst, a data engineer or a machine learning job picks the files they need and gives them a shape at that moment.
Because storage is cheap and nearly unlimited (see Object Storage), keeping everything costs little. The hard part moves from storing data to finding and trusting it. A healthy lake adds a catalog (a list of what exists), zones (raw, cleaned, ready-to-use), and clear owners.
| Format | Layout | Good for |
|---|---|---|
| CSV / JSON | Text, one row at a time | Easy to read and share. Large and slow to scan. |
| Avro | Binary, row based, carries its schema | Writing streams of records and passing them between systems. |
| Parquet | Binary, column based, compressed | Analytics: reads only the columns a query needs. |
| ORC | Binary, column based, compressed | Similar to Parquet, common in Hive-based systems. |
| Data lake | Data warehouse | Data swamp | |
|---|---|---|---|
| Data kept | Raw, all kinds | Cleaned, modelled tables | Raw, unknown |
| Schema | On read | On write | None you can trust |
| Users | Engineers, data scientists, analysts | Analysts and business users | Nobody, for long |
| Cost per TB | Low | Higher | Low, but the value is also low |
| Trust | Depends on zones and catalog | High | Low |
A simple model, with no random numbers. Prices, times and the share of data a warehouse keeps are made-up round numbers to show the trade-off, not real benchmarks.
| Term | Meaning in easy words |
|---|---|
| Data lake | A large store that keeps raw data of any kind, usually on object storage |
| Schema on read | Give the data a shape only when you read it, not when you store it |
| Schema on write | Check and shape data before it is stored (the warehouse way) |
| Data swamp | A lake nobody can search or trust, because it has no catalog, owners or rules |
| Data catalog | A searchable list of datasets with their location, schema, owner and meaning |
| Zones (bronze, silver, gold) | Stages of data quality: raw, cleaned, ready to use |
| Parquet | A compressed, column-based file format made for analytics |
| Partitioning | Splitting files into folders (for example by date) so queries can skip what they do not need |
| Data lineage | A record of where a dataset came from and what changed it |
| Object storage | Cheap storage of files as objects with a key, such as Amazon S3 |
| Data governance | The rules for who owns, can see and can change data |
| Choice | We gain | We lose |
|---|---|---|
| Store raw, shape later | Flexibility and no lost history | Quality problems found late, more work at read time |
| Keep everything | Can answer future questions | Storage bills, privacy risk, clutter |
| Open file formats | Many tools can read it, no lock-in | You must manage layout and file sizes yourself |
| Separate storage and compute | Scale and pay for each on its own | Network reads are slower than local disks |
| Lake only | Simple, one place | Weaker speed and trust for business reports |
| Lake plus warehouse | Raw for science, curated for reports | Two systems and two copies to keep in sync |