AI Glossary / Data engineering and architecture / Beginner

Data lake

Definition

A data lake is a repository designed to hold substantial amounts of data in varied formats, often including source data before it has been shaped for a particular analysis. Processing and query tools make selected data usable for analytics and AI.

What it means

A lake can contain tables, event records, documents, images and other material. It is often built on scalable file or object storage, with separate tools for ingestion, discovery, processing and access management.

The approach allows teams to retain useful source detail and prepare it for more than one purpose. For example, a document collection might support both search and later extraction of structured information. This flexibility does not mean that the data has no structure or needs no management. File formats, source meanings and intended uses still matter.

“Schema on read” describes applying an interpretation when data is read for a task. Many practical lakes also contain validated, structured datasets. Raw and curated areas can coexist, and the architecture should make their different readiness levels clear.

How it works

Data arrives through defined ingestion paths and is stored with source identifiers, timestamps and other useful metadata. A catalog or equivalent discovery mechanism helps users understand what is available and who owns it.

Processing jobs may clean records, extract document text, standardize fields or build curated tables. Query engines and AI workflows access the appropriate outputs under defined permissions. Organization by meaningful locations, formats and partitions can reduce unnecessary scanning, but the right layout depends on access patterns.

The storage layer alone does not provide every desired database capability. Reliable table updates, transaction management and advanced governance depend on additional formats, services or software. A data lakehouse builds on this general storage approach with more database-style management and analytical capabilities.

Three practical examples

1. Customer analysis: a company retains transaction exports and application events, then produces consistent customer activity tables for reporting and modeling.

2. Document AI: a publisher stores approved source files alongside extracted text and version metadata so an extraction process can be rerun when its method improves.

3. Equipment research: a manufacturer keeps historical sensor readings and maintenance records, allowing analysts to prepare datasets for different failure-prediction questions.

Think of it this way

Think of a well-managed archive that accepts many kinds of material. The archive needs an inventory, access rules and preparation work before a researcher can use particular items. A data lake is similar in its flexibility. The analogy does not imply passive storage only: automated processing and frequent updates may be central to a real lake.

Worked example

A fictional support project receives 500 manuals, 20,000 support events and a product table. It stores the original manuals in a restricted source area and records each document's identifier, version and permission category.

A processing job extracts text from 480 manuals and reports 20 failures. A curated table links successful extracts to products and approved versions. An AI retrieval index is built from that approved subset, not from every object merely because it exists in storage.

Later, an improved extractor can retry the 20 failed manuals using the retained originals. The team can compare outputs because it kept source versions and processing metadata.

The example illustrates reusable source data and staged preparation. It does not justify retaining every file indefinitely: the project still needs an appropriate retention policy and must apply deletion or access changes to relevant derived copies.

Illustrative case study

Illustrative fictional case: Bayline Analytics accumulates exports in a shared storage bucket and calls it a data lake. Different teams upload files named final_customers, final_customers_new and final_customers_latest. A modeling project cannot determine which records are current or which definitions were used.

The team introduces dataset owners, stable identifiers, version information and separate source and curated areas. It documents the transformation that produces the approved customer dataset and limits access to sensitive source material.

The fictional case shows why storage capacity alone is insufficient. The useful improvement is understandable, governed data, not a claim that a particular folder naming convention automatically creates a complete lake architecture.

Common misconceptions and mistakes

Do not assume “raw” means correct, complete or permitted for every use. Do not assume schema on read means schemas and definitions are unnecessary. Do not equate a lake with a backup strategy: recovery, retention and protection must be designed explicitly.

Avoid promising low total cost from storage pricing alone. Processing, repeated scans, transfers and operational work can matter. Do not train or retrieve from the entire lake without selecting suitable, authorized material. A large collection can amplify confusion if ownership and provenance are missing.

Business use

Use a data lake when varied source material and reuse across analytical tasks justify the architecture. Define the intended workloads, freshness needs, access rules and lifecycle before simply copying everything available.

For an AI project, preserve the relationship between originals, extracted content, training datasets and search indexes. Record which versions a model or retrieval service used. Evaluate storage and processing costs together, and establish how obsolete or restricted material is removed from downstream products. A smaller, well-understood collection can be more useful than a larger unmanaged one.

People also ask

Is a data lake a database?

It is a storage and data-platform approach that may use database-like layers, but a collection of files alone does not provide every feature of a database management system.

Can it contain structured tables?

Yes. Lakes can hold structured, semi-structured and unstructured data, including carefully curated tables.

Does a lake replace a warehouse?

Not necessarily. Organizations may use both, or adopt a lakehouse for some workloads. The right arrangement depends on the data, queries, management capabilities and operating requirements.

Check your understanding

A team stores all its PDFs in object storage. Are those PDFs automatically ready for an AI question-answering system?

Answer: No. The system still needs suitable extraction, source and version information, permission handling, indexing and evaluation. Storage is only part of the workflow.

Related terms

  • Object storage
  • Data ingestion
  • Data catalog
  • Data Warehouse
  • Data Lakehouse
  • Data governance
  • schema on read
  • data lineage
  • curated dataset

Learn next

Trace a source file through ingestion, preparation and consumption. Identify where its owner, version, access rules and quality status are recorded. Next, compare a data lake with a warehouse and a lakehouse using one actual workload rather than labels alone.

More in Data engineering and architecture

  • Data auditing - Data auditing is a systematic examination of data and, where relevant, the processes that handle it against stated criteria.
  • Data binding - Data binding is a mechanism that connects data values to another representation so that values can be displayed, transferred or updated according to defined...
  • Data blending - Data blending combines information from separate sources for an analysis or view, using agreed links and compatible levels of detail.
  • Data-centric computing - Data-centric computing is an approach to computer-system design that treats the location, movement and access patterns of data as central concerns.
  • Data-centric programming language - A data-centric programming language emphasizes describing, querying and transforming collections of data.
  • Data-centric security - Data-centric security is an approach that organizes protection around the information itself: what it contains, how sensitive it is, who may use it and...

Sources

AWS, data lake overview and analytical uses: https://aws.amazon.com/what-is/data-lake/

Microsoft Azure Architecture Center, data lake architecture and layers: https://learn.microsoft.com/en-us/azure/architecture/data-guide/scenarios/data-lake

AWS, modern data architecture layers and schema-on-read context: https://docs.aws.amazon.com/whitepapers/latest/modern-data-architecture-rationales-on-aws/modern-data-architecture-layers-deep-dive.html

Databricks, introduction to data lakes: https://www.databricks.com/discover/data-lakes

The manual and customer-data scenarios are original fictional illustrations.

Previous: Data item Next: Data Lakehouse

  • Home
  • Daily AI Updates
  • Blog
  • AIFBL Academy
  • AI Glossary
  • Products and Tools
  • Store
  • Free CFO AI Prompt Pack
  • About Shihan Sheriff
  • Privacy Policy
  • Terms of Use
  • Refund Policy
  • Cookie Policy
  • Earnings Disclaimer