1. Home
  2. Blog
  3. Business Intelligence

Business Intelligence

What Is a Data Lake? Lakehouse, Warehouse Differences, Layers and Cost Guide

What is a data lake? Learn how it differs from a warehouse and lakehouse, plus layers, partitioning, the small-file problem, swamp risk and cost.

Contents 15 sections
  1. What Is a Data Lake?
  2. What Is the Difference Between a Data Lake, a Data Warehouse and a Lakehouse?
  3. What Does Schema-on-Read Mean?
  4. How Are Data Lake Layers Set Up?
  5. How Do File Format and Partitioning Affect Queries?
  6. What Is the Small-File Problem?
  7. How Does a Data Lake Turn into a Data Swamp?
  8. What Is a Lakehouse?
  9. How Much Does a Data Lake Cost? Lifecycle and Retention
  10. How Is Access Control Done in a Data Lake?
  11. When Does a Data Lake Pay for Itself?
  12. How Is a Data Lake Project Run?
  13. What Are Common Data Lake Mistakes?
  14. Business Intelligence and Data Infrastructure with İnovabil
  15. Frequently Asked Questions

Every day, 40 GB of event logs, device data and files from outside systems pile up, and you do not yet know which of it will turn out to be useful. The short answer to what is a data lake is this: it is the place where that data is kept as it arrives, without first forcing it into tables, on cheap storage. When a question comes up, the data is already there, and the table gets built at that moment. But without rules, that flexibility turns into a data swamp nobody trusts.

In this guide we cover the data lake, how it differs from a warehouse and from the lakehouse approach, the schema-on-read principle, layers, the effect of file format and partitioning, the small-file problem, the swamp risk, storage and query cost, lifecycle, access control and a six-step setup. We covered the warehouse itself in our data warehouse guide; here we deal only with the lake. All example figures are illustrative; they are not the price or performance of any particular product.

Key takeawayA data lake gives you cheap storage, but it does not create value by itself. Value comes from a catalog, ownership, quality rules and a sound file layout. Storage is a small line item; the real cost is the data your queries scan. A good lake therefore does not mean "dump everything in" but "keep raw data, and keep it measurable and findable".

What Is a Data Lake?

A data lake is a central area that holds every kind of data in its raw form on inexpensive object storage, from structured tables and text files to event logs, images and audio. No schema is imposed when data is loaded; what the data is good for is decided later. That suits data science, advanced analytics and questions nobody has defined yet.

A lake has three traits: it accepts any format, storage is cheap, and it keeps data unchanged, with its history. The price is that keeping order becomes your responsibility.

What Is the Difference Between a Data Lake, a Data Warehouse and a Lakehouse?

A warehouse holds cleaned, modeled data for reporting; a lake stores raw data as it is; a lakehouse adds table rules on top of lake files, trying to bring the strengths of both into one place.

TopicData warehouseData lakeLakehouse
DataClean, in tablesRaw, semi-structured, filesLake files plus table rules
SchemaOn writeOn readEnforced on the table, files stay open
Main userBusiness analyst, report userData engineer, data scientistBoth
StrengthFast, reliable reportsCheap, flexible, any data typeBoth on one copy
RiskModeling effort for new dataSwamp, low qualityExtra management layer
WhenKPI and finance reportingLarge, uncertain, forward-looking dataWhen you need both lake and warehouse

Most mid-sized businesses need not a lake but a small, well-designed warehouse. Before choosing a lake, write down which question actually requires raw data. For indicator design, see our KPI guide.

What Does Schema-on-Read Mean?

Schema-on-read means a data structure is applied when the data is queried, not when it is written; loading gets easier, and errors move to the moment of reading.

Take an example: 40,000,000 events arrive per day, and the "amount" field is written as the number 1250.5 in some rows and as the text "1.250,50" in others. A warehouse load would reject those rows; in a lake they go in as they are. If 0.3% of rows are malformed, 40,000,000 × 0.3% = 120,000 bad rows arrive every day. Schema-on-read does not remove the error; it hands it to the analyst. That is why a good lake includes a validation step after the raw layer. We cover monitoring that pipelines arrive on time and complete in our data pipeline reliability guide.

How Are Data Lake Layers Set Up?

Three layers are enough: raw, cleaned and ready. Each layer has a different owner, rule and reader.

LayerContentExample daily volumeWho reads it
RawAs received from the source, never modified40 GB (text)Data engineers
CleanedTypes fixed, de-duplicated, bad rows in quarantine≈ 8 GB (columnar)Analysts and data scientists
ReadyAggregated by business definition≈ 0.2 GBReport users

Keeping the raw layer immutable lets you reprocess when an error is found. In the example above, of 40,000,000 events, 120,000 go to quarantine and the remaining 39,880,000 move to the cleaned layer. Set the naming and path rule at the start, for example layer/domain/dataset/date=2026-11-27.

How Do File Format and Partitioning Affect Queries?

A columnar, compressed file format combined with partitioning by date can cut the data a query scans by thousands of times. Without naming a format, here is the concept: in a columnar format, data is stored column by column instead of row by row, so only the columns named in the query are read, and similar values compress well.

  • Raw volume: 40 GB × 365 days × 3 years = 43,800 GB = 43.8 TB.
  • Columnar and compressed: assuming 1 ÷ 5 of the size, 43.8 ÷ 5 = 8.76 TB (8 GB per day).
  • Partitioning: a query that reads one day out of 1,095 date partitions scans 1,095 times less: 8,760 GB ÷ 1,095 = 8 GB.
  • Column selection: reading 4 of 20 columns gives 8 GB × 4 ÷ 20 = 1.6 GB (assuming equal-sized columns).
Three years of raw event data is 43.8 TB, columnar and compressed 8.76 TB, and a one-day, four-column query reads 1.6 GB; scan cost per query falls from 1,095 lira to 0.04 lira
The same data in three layouts: amount scanned and query cost.

If the scan price is a representative ₺25 per TB, scanning the entire raw text costs 43.8 × 25 = ₺1,095, a full columnar scan costs 8.76 × 25 = ₺219, and a partitioned four-column scan costs 0.0016 × 25 = ₺0.04. For 200 queries a day, that is the gap between ₺43,800 and ₺8. We also cover the logic of proper indexes and file layout in our indexing guide.

What Is the Small-File Problem?

The small-file problem is when data is split into so many tiny files that a query spends more time opening files than reading data.

If a stream writes one file per minute, you get 1,440 files a day; at 28 MB each that is 1,440 × 28 = 40,320 MB ≈ 40 GB daily. Merged into 512 MB files, the same data is 40,000 ÷ 512 = 78.1, so 79 files. Let us assume a representative 50 ms for opening and listing a file (excluding read time):

MeasureSmall filesMerged
Files per day1,44079
Opening files, one-day query1,440 × 50 ms = 72 s79 × 50 ms = 3.95 s
30-day query43,200 × 50 ms = 2,160 s = 36 min2,370 × 50 ms = 118.5 s ≈ 2 min

The difference is about 18 times (1,440 ÷ 79 ≈ 18.2). The fix is a nightly compaction job. For designing batch jobs, see our batch processing guide.

How Does a Data Lake Turn into a Data Swamp?

A lake turns into a swamp mostly because of management, not technology: data keeps arriving, but nobody knows who owns it, what it means or whether it can be trusted. A representative inventory might look like this:

MeasureCountShare
Total datasets1,200—
With an owner780780 ÷ 1,200 = 65%
Without an owner420420 ÷ 1,200 = 35%
With a quality rule420420 ÷ 1,200 = 35%
Not read in the last 180 days300300 ÷ 1,200 = 25%

If every dataset with a quality rule also has an owner, then 780 − 420 = 360 datasets have an owner but no rule (30%). The target is three steps: give ownerless datasets 30 days to be handed over or archived; move unread data to the cold tier; and require at least one quality rule per dataset. We explain how responsibilities are shared in our data governance guide, and the single source of truth for shared records such as customers and products in our master data management guide.

What Is a Lakehouse?

A lakehouse is an approach that places a transaction log and table rules on top of lake files, so the lake can be queried reliably like a warehouse.

What it provides: files are published as a single transaction, so a write that stops halfway is invisible to readers; the table schema is enforced; and past versions are kept, so you can read "as of 30 days ago" or roll back. Example: if a job crashes at file 52 while writing 79 files, a reader of a log-less lake may take the 52 ÷ 79 = 65.8% partial data for the whole; with a log, no new version is published until the job completes.

The cost is an additional management layer, which may be unnecessary for small, single-purpose data. We compare which data family fits which job in our database selection guide.

How Much Does a Data Lake Cost? Lifecycle and Retention

Storage is cheap, and lifecycle rules make it cheaper still. The calculation counts only the columnar, compressed single copy of the raw layer (8.76 TB), and unit prices are illustrative: hot tier ₺400 per TB, cold tier ₺100 per TB (monthly).

ScenarioCalculationMonthly
Everything hot8.76 TB × ₺400₺3,504
Last 90 days hot, rest cold0.72 TB × ₺400 + 8.04 TB × ₺100 = ₺288 + ₺804₺1,092

The last 90 days amount to 90 × 8 GB = 720 GB = 0.72 TB; the rest is 8.76 − 0.72 = 8.04 TB. The saving is ₺3,504 − ₺1,092 = ₺2,412, or 68.8%. Because storage stays a small line, the real bill is in queries: 200 queries × ₺219 = ₺43,800 per day. So invest first in file layout, then in storage tiers. The deletion rule must also be written down: the example deletes automatically after 36 months, but real retention periods depend on legislation and contracts; consult your legal counsel and financial advisor (certified accountant). For the framework, see our data archiving and retention policy guide.

How Is Access Control Done in a Data Lake?

Grant access by role and domain rather than dataset by dataset; keep the raw layer in a narrow group and the ready layer in a broad one.

  • Role × domain rule: with 1,200 datasets and 120 users, possible pairings are 1,200 × 120 = 144,000. If datasets are grouped into 12 domains and 6 roles are defined, 6 × 12 = 72 rules suffice; 144,000 ÷ 72 = 2,000 times fewer.
  • Personal data: if 3 of 20 columns are personal (15%), mask them or keep them in a separate, narrowly authorized area. See our data masking guide.
  • Deletion requests: a person can appear in all 1,095 daily partitions; rather than rewriting them all, keeping personal fields in a single pseudonym mapping table cuts deletion from 1,095 partitions to 1 table. We describe the process in our data subject requests guide; for the legal scope, consult your legal counsel.
  • Encryption: for files and keys at rest, see our encryption and key management guide.

When Does a Data Lake Pay for Itself?

Payback depends on the concrete work the lake solves. Illustrative example: the data team receives 30 raw data requests a month; each currently takes 6 hours and drops to 1.5 hours with a catalog and ready files.

  • Before: 30 × 6 = 180 h × ₺300 = ₺54,000/month. After: 30 × 1.5 = 45 h × ₺300 = ₺13,500/month. Gain ₺40,500.
  • Running cost (storage, catalog upkeep, compaction job): ₺12,000/month. Net: 40,500 − 12,000 = ₺28,500/month.
  • Investment: 40 person-days × ₺9,000 = ₺360,000. Payback: 360,000 ÷ 28,500 ≈ 12.6 months.

If the gain halves (₺20,250 − ₺12,000 = ₺8,250), payback stretches to 360,000 ÷ 8,250 ≈ 43.6 months. So for a team with few requests, a lake may not pay for itself; the query bill comparison is not included in this calculation.

How Is a Data Lake Project Run?

A six-step path keeps the lake from turning into a swamp.

Six steps of setting up a data lake: use case, layers, format and partitioning, catalog, access and lifecycle, measurement
The six steps of setting up a data lake.
  1. Use case: Which question needs raw data, who owns it, and which decision will change?
  2. Layers and naming: Raw, cleaned, ready; a path and naming rule.
  3. Format and partitioning: Columnar, compressed files; partitions by date; nightly compaction.
  4. Catalog and owner: Every dataset gets a definition, an owner and at least one quality rule.
  5. Access and lifecycle: Role × domain rules, hot-to-cold transition, deletion.
  6. Measurement: Cost per query, ownership rate, file count, share of unread data.

A lake does not produce reports on its own; it needs a business-defined layer and user access on top. You will find that stage in our self-service reporting guide and the overall framework in our business intelligence guide.

What Are Common Data Lake Mistakes?

  • Collecting without a question: Data hoarded "in case we need it" ends up ownerless.
  • Modifying the raw layer: You lose the ability to go back to the source.
  • Skipping partitioning: Every query scans everything and the bill balloons.
  • Not merging small files: Queries slow down.
  • Leaving the catalog for last: Nobody knows what is where.
  • Opening personal data broadly in the raw layer: Access stays unbounded.
  • Building a lake when a warehouse would do: A simple reporting need gets unnecessary management overhead.
We recommend reading: How to design dashboards and data visualization

Business Intelligence and Data Infrastructure with İnovabil

At İnovabil our focus is building software from scratch, tailored to the company; our business intelligence service covers data connections, warehouse and ETL, dashboards, KPIs and automated reports. We do not claim to offer a separate data lake product or service; we suggest writing down your raw data need during requirements analysis and evaluating together whether a warehouse can meet it.

We built CRM, purchasing and mobile for Avcılar İnşaat; a purchasing system for İZBAN; logistics and shipment planning with wholesale order management for Karyak; warehouse management and a complaint and support management system for Sleepy; and shipment planning for Bofigo. Send us a short note about your data sources and the questions you want answered, and we will first put in writing which solution is needed.

We recommend reading: Our business intelligence and reporting service

Frequently Asked Questions

What is a data lake, in short, and what is it for?

It is an area that stores any kind of data in raw form, without first putting it into tables, on cheap storage. It suits data science, advanced analytics and questions nobody has defined yet; keeping order is your responsibility.

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

A warehouse holds clean, modeled data for reporting and applies the schema on write. A lake stores raw data and the schema is decided at read time. For a detailed comparison, see our data warehouse guide.

What is a lakehouse?

An approach that adds a transaction log, schema enforcement and version history on top of lake files so the lake can be queried reliably like a warehouse. It requires an additional management layer.

How do you keep a data lake from becoming a data swamp?

Every dataset needs an owner, a definition and at least one quality rule, and unread data should move to the cold tier. In the example the owned share is 65% and the share with a quality rule is 35%; the goal is to raise both.

What does the cost of a data lake depend on?

Storage is cheap; the real line item is the data queries scan. A columnar format, partitioning and merging small files can cut query cost by thousands of times. Unit prices vary by provider, and the figures in the example are illustrative.

Let's talk about your project

Tell us briefly about the software you have in mind; we'll listen and prepare a tailored roadmap and proposal.

Get a quote