
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

AP PLIED COMPUTING • CH AP T ER 17
The 5 Vs, Distributed Storage, Batch vs. Stream Processing & Data Warehouses
Traditional single-server relational databases fail when datasets exceed vertical hardware limits across five core dimensions:
Volume: Massive scale (terabytes to petabytes) requiring distributed disk clusters. Velocity: High-speed ingestion from clickstreams, financial tickers, and sensor telemetry. Variety: Mixing structured tables, semi-structured JSON/logs, and unstructured video or audio. Veracity: Handling noisy, duplicate, or missing records before analytics run. Value: Extracting actionable business or scientific insights that justify infrastructure cost.
Figure 17.1 — Dual Batch & Real-Time Streaming Pipeline Architecture
Feature Data Lake Data Warehouse Schema Strategy Schema-on-Read (raw files stored first) Schema-on-Write (strictly modeled tables) Storage Format Object storage (Parquet, ORC, JSON , CSV) Columnar analytical databases Primary Users Data scientists & ML engineers Business analysts & BI dashboards
Why Columnar Formats (Parquet) Matter Analytical queries usually sum or average only 2–3 columns out of 100. Storing data by column instead of by row lets query engines skip irrelevant disk blocks and compress identical data types efficiently.
Raw Data Lake Batch Engine (Spark) Stream Engine (Kafka/Flink)
Analytics Warehouse