1 / 18
Unit 1 · Introduction
Introduction to
Big Data
& Analytics

From digital data classification to Hadoop ecosystems — a complete visual walkthrough of Unit 1 syllabus.

5V
Big Data Characteristics
3
Analytics Categories
BASE
Consistency Model
10+
Top Analytics Tools
Topics Covered
01Classification of Digital Data
02Structured vs Unstructured
03Big Data: Intro & Evolution
045 V's of Big Data
05Challenges with Big Data
06Why Big Data?
07BI vs Big Data
08Data Warehouse & Hadoop
09Classification of Analytics
10Data Science & Data Scientist
11BASE Consistency Model
12Big Data Terminologies
Topic 01
Classification of Digital Data
Data exists in multiple forms — each with distinct storage and processing needs.
📊 Structured Data

Organized in a fixed schema — rows and columns. Easy to query with SQL.

Examples: RDBMS tables, Excel spreadsheets, bank transaction records, student grade sheets.
📄 Semi-Structured

Has some organizational properties (tags/markers) but no strict schema.

Examples: JSON files, XML documents, email (headers + body), CSV files, HTML pages.
🎵 Unstructured Data

No predefined model or schema. Cannot be stored in rows/columns directly.

Examples: Images, videos, audio files, social media posts, PDFs, sensor logs.
📈 Data Volume Distribution (Approximate Global Data)
Structured 20%
Semi 10%
Unstructured 70% of all enterprise data
Key Insight: Over 80% of the world's data is unstructured, which is why Big Data tools like Hadoop were designed — traditional RDBMS cannot handle it.
Topic 02
Structured vs Unstructured Data
A detailed comparison of the two dominant data types.
Parameter Structured Data Unstructured Data
FormatFixed schema, rows & columnsNo fixed format
StorageRDBMS (MySQL, Oracle)Data Lakes, NoSQL, Hadoop HDFS
Query LanguageSQLMapReduce, Hive, Pig, Spark
ScalabilityLimited (vertical scaling)Highly scalable (horizontal)
AnalysisEasy — reports, dashboardsComplex — NLP, CV, ML needed
ExamplesBank DB, HR System, ERPTweets, CCTV footage, emails
Volume~20% of enterprise data~80% of enterprise data
Semi-Structured Deep Dive

Semi-structured data acts as a bridge. For example, a JSON document from Twitter's API has fields (structured aspect) but the tweet text itself is unstructured text. NoSQL databases like MongoDB handle such data natively.
Real-World Use Case
  • E-commerce: Order table = Structured; product reviews = Unstructured
  • Healthcare: Patient ID/DOB = Structured; doctor notes = Unstructured
  • Banking: Transactions = Structured; customer calls = Unstructured
Topic 03
Introduction to Big Data
Definition, Origins and Evolution of the concept.
📖 Definition

Big Data refers to datasets that are too large, fast, or complex to be processed using traditional database tools. It involves the capture, storage, analysis and visualization of massive data sets.

Doug Laney (2001) — Gartner
First coined the 3 Vs model: Volume, Velocity, Variety — the foundational definition of Big Data that is still used today.
Evolution Timeline
1990s
Data Warehousing Era — enterprises begin storing historical data for reporting.
2001
3 Vs coined by Doug Laney at Gartner META Group.
2004
Google publishes MapReduce paper — foundation for parallel processing of large data.
2006
Apache Hadoop launched (Yahoo!) — open-source big data framework for distributed storage and processing.
2010s
Cloud Big Data era — AWS, Azure, GCP offer managed big data services. Spark, Kafka, NoSQL rise.
Topic 04
Characteristics of Big Data — The 5 V's
The defining properties that distinguish Big Data from traditional data.
Volume

The sheer scale of data generated. Big Data is measured in Petabytes, Exabytes, Zettabytes.

Example: Facebook generates ~4 petabytes of data per day. Google processes ~100 petabytes/day with MapReduce.
Velocity

The speed at which data is generated, collected and processed. Real-time vs batch processing.

Example: Twitter produces ~6,000 tweets/second. Stock market feeds process millions of ticks per second.
Variety

Data comes in multiple formats — structured tables, JSON, videos, images, audio, logs.

Example: A hospital has patient records (structured), MRI scans (images), doctor dictations (audio), and lab PDFs.
Veracity

The quality and trustworthiness of data. Data can be uncertain, noisy or inconsistent.

Example: Social media data has fake profiles, duplicate entries, missing fields. Sensor data may have errors due to hardware faults.
Value

The usefulness of the data — raw data alone means nothing without deriving insights.

Example: Netflix analyzing user watch history to recommend content → increases viewer engagement → $1B+ savings in churn.
Topic 05
Challenges with Big Data
Key obstacles organizations face when dealing with massive datasets.
🗄️ Storage

Storing petabytes of data cost-effectively. Traditional RDBMS can't scale horizontally.

Solution: HDFS (Hadoop Distributed File System), Amazon S3, Azure Data Lake.
⚡ Processing Speed

Processing real-time streams fast enough to be actionable (latency problem).

Solution: Apache Spark (in-memory), Apache Flink for real-time stream processing.
🔒 Privacy & Security

Sensitive data (medical, financial) must be protected. GDPR/data regulations apply.

Solution: Data masking, encryption at rest/transit, role-based access control.
🧹 Data Quality

Dirty data, missing values, duplicates — "garbage in, garbage out" problem.

Solution: ETL pipelines, data cleansing tools (Apache Griffin, Talend).
🧠 Talent Gap

Shortage of data engineers and scientists who can work with Big Data stacks.

Example: McKinsey (2018) projected a shortage of 1.5 million data-savvy managers in the US alone.
💰 Cost

Infrastructure, cloud costs, licensing, and skilled labor make Big Data expensive to implement.

Solution: Open-source tools (Hadoop, Spark) and cloud pay-as-you-go models reduce costs.
Topic 06
Why Big Data?
The business and technological drivers that make Big Data essential.
📱 Explosion of Data Sources
  • Social media: 500M+ tweets/day, 100B+ Instagram photos shared yearly
  • IoT devices: 15 billion+ connected devices generating sensor data
  • Mobile: 6.8 billion smartphone subscriptions globally
  • Web logs, click-streams, e-commerce transactions
💼 Business Benefits
  • Customer personalization — Amazon's recommendation engine drives 35% of revenue
  • Fraud detection — Real-time pattern analysis in banking
  • Predictive maintenance — GE reduces downtime using sensor Big Data
  • Supply chain optimization — Walmart analyzes 1M+ transactions/hour
2.5QB
Data created daily worldwide (quintillion bytes)
90%
Of world's data created in last 2 years
$684B
Global Big Data market value by 2030
40×
Data growth rate vs traditional IT
Other Data Characteristics (beyond 5 Vs):

Variability — data meaning changes over time
Visualization — complex data needs charts/graphs
Viscosity — resistance to data flow in pipelines
Virality — speed at which data spreads across networks
Topic 07
Traditional BI vs Big Data Analytics
Understanding how Big Data analytics differs from traditional Business Intelligence.
Dimension Traditional BI Big Data Analytics
Data TypeStructured onlyStructured + Semi + Unstructured
Data VolumeGB to low TBPetabytes to Zettabytes
ProcessingBatch, nightly ETLReal-time & batch (Spark, Flink)
StorageRDBMS, Data WarehouseHDFS, NoSQL, Cloud Data Lakes
Analysis TypeDescriptive (what happened)Descriptive + Predictive + Prescriptive
LatencyHours to daysMilliseconds to seconds
TechnologySQL, Cognos, Business ObjectsHadoop, Spark, Kafka, Hive
UsersBusiness analysts, managersData scientists, ML engineers
CostHigh licensing (SAP, Oracle)Open-source; cloud pay-as-you-go
Example: A retail bank using traditional BI generates monthly sales reports (descriptive). With Big Data Analytics, the same bank can detect fraudulent transactions in real-time and predict which customers are likely to churn — then act on it immediately.
Topic 08
Data Warehouse vs Hadoop Environment
Two paradigms for large-scale data storage and analysis.
🏛️ Data Warehouse
  • Centralized repository for structured, historical data
  • Schema-on-write: schema defined before loading
  • OLAP (Online Analytical Processing) based
  • Tools: Teradata, Oracle DW, Amazon Redshift, Snowflake
  • Best for: BI reports, compliance, financial analysis
Sources
ETL
DW
Reports
🐘 Hadoop Ecosystem
  • Distributed storage & processing across commodity hardware
  • Schema-on-read: flexibility for any data format
  • Core: HDFS (storage) + MapReduce/YARN (processing)
  • Ecosystem: Hive, Pig, HBase, Spark, Kafka, Oozie, ZooKeeper
  • Best for: large-scale ML, log analysis, clickstream data
Raw Data
HDFS
MapReduce
Insights
Hadoop Core Components: HDFS — Distributed Storage YARN — Resource Management MapReduce — Processing Engine Hive — SQL on Hadoop HBase — NoSQL on HDFS Pig — Data Flow Language Spark — In-memory Engine
Topic 09
Classification of Analytics
The four levels of analytics — from description to prescription.
1️⃣ Descriptive

"What happened?"
Summarizes historical data.

Example: Monthly sales report showing revenue by region.

SQLExcelTableau
2️⃣ Diagnostic

"Why did it happen?"
Root cause analysis.

Example: Sales dropped in Q3 — drill-down shows product recall in July caused it.

OLAPDrill-down
3️⃣ Predictive

"What will happen?"
Forecasting with ML models.

Example: Credit scoring model predicts customer loan default probability.

MLR/Python
4️⃣ Prescriptive

"What should we do?"
Recommends optimal actions.

Example: Dynamic pricing engine adjusts Uber fare in real-time based on supply/demand.

AIOptimization
Maturity Ladder: Organizations typically start with Descriptive analytics and progressively adopt Predictive and Prescriptive as they build their data infrastructure and talent.
Topic 09b
Big Data Analytics — Challenges & Importance
Why analytics is hard, and why it matters more than ever.
⚠️ Challenges in Big Data Analytics
  • Data heterogeneity — combining structured + unstructured data is hard
  • Scalability — models trained on terabytes need distributed computing
  • Real-time analysis — low-latency processing for time-critical decisions
  • Data governance — who owns the data, lineage, compliance
  • Interpretability — complex ML models are black boxes
  • Infrastructure cost — GPU clusters, cloud costs escalate
🎯 Why Big Data Analytics is Important
  • Healthcare: Genomic data analysis enables personalized medicine
  • Finance: Real-time fraud detection saves billions annually
  • Retail: Recommendation engines increase sales by 20-35%
  • Government: Smart city traffic optimization reduces congestion by 30%
  • Manufacturing: Predictive maintenance reduces downtime by 45%
  • Agriculture: Crop yield prediction using satellite + weather data
Gartner's Hype Cycle Insight: Big Data analytics has moved past the "Peak of Inflated Expectations" into the "Plateau of Productivity" — meaning real ROI is now measurable in mature deployments across industries.
Topic 10
Data Science & The Data Scientist
The interdisciplinary field at the heart of Big Data analytics.
🔬 What is Data Science?

Data Science is an interdisciplinary field combining statistics, computer science, and domain expertise to extract actionable insights from data using scientific methods, algorithms, and systems.


Data Science Process (CRISP-DM)
Business Understanding
Define the problem
Data Collection
Gather relevant data
Data Preparation
Clean, transform, EDA
Modelling
Build ML/DL models
Evaluation & Deployment
Validate & go live
👩‍💻 Who is a Data Scientist?

A Data Scientist is someone who collects, analyzes, and interprets large datasets using statistics, programming, and ML to solve complex business problems.

Required Skills
Statistics & Probability Python / R Machine Learning SQL & NoSQL Data Visualization Hadoop / Spark Domain Expertise Communication
HBR (2012): Harvard Business Review called Data Scientist "the sexiest job of the 21st century." The average US salary for a Data Scientist is $130,000/year (BLS 2024).
Topic 11
Key Terminologies in Big Data
Essential vocabulary every Big Data practitioner must know.
🗺️ MapReduce

A programming model for processing large datasets in parallel across a cluster. Map phase filters/sorts; Reduce phase aggregates results.

Example: Counting word frequency in 1TB of web pages.
📁 HDFS

Hadoop Distributed File System — stores files across multiple machines with replication (default 3× copies) for fault tolerance.

Example: A 1GB file split into 128MB blocks stored across 8 DataNodes.
⚡ Apache Spark

In-memory distributed computing engine — 100× faster than MapReduce. Supports batch, streaming, ML (MLlib), graph processing.

Example: Real-time clickstream analytics for e-commerce.
🗄️ NoSQL Database

Non-relational DBs designed for horizontal scaling. Types: Document (MongoDB), Key-Value (Redis), Column (Cassandra), Graph (Neo4j).

Example: Instagram uses Cassandra to store billions of photos metadata.
🌊 Data Lake

A centralized repository storing raw data in its native format until needed — unlike data warehouse which stores processed data.

Example: Netflix's AWS S3 data lake stores raw streaming logs, then processes on demand.
🔄 ETL vs ELT

ETL: Extract → Transform → Load (traditional). ELT: Extract → Load → Transform (modern Big Data approach — transform in the data lake).

Example: Snowflake uses ELT; data loaded raw, transformed with SQL later.
Topic 12
BASE — Consistency Model for Big Data
The alternative to ACID for distributed, scalable NoSQL systems.
B
Basically Available
The system guarantees availability — it responds to every request, even if some nodes are down. It may return stale or partial data rather than failing.
Example: Amazon's shopping cart is always available, even if one data center is down.
S
Soft State
The state of the system may change over time, even without input. Data is not guaranteed to be consistent at every moment — it is "soft" or flexible.
Example: Facebook "likes" count may differ by seconds across data centers as updates propagate.
E
Eventual Consistency
Given enough time without new updates, all replicas of data will converge to the same value. Consistency is eventual, not immediate.
Example: DNS updates propagate globally — all servers will eventually show the same IP, though it takes time.
ACID vs BASE
ACID (traditional RDBMS): Atomicity, Consistency, Isolation, Durability — strict, safe, but not scalable.
BASE (NoSQL/Big Data): Trades strong consistency for availability and scalability — suitable for web-scale systems.
Systems Using BASE
  • Apache Cassandra — tunable consistency levels
  • Amazon DynamoDB — eventually consistent reads
  • CouchDB — multi-master replication
  • Riak — distributed key-value store
Topic 13
More Big Data Terminologies
Important concepts and terms used in the Big Data ecosystem.
📡 CAP Theorem

A distributed system can only guarantee 2 of 3: Consistency, Availability, Partition Tolerance. BASE systems prioritize A+P.

🌊 Apache Kafka

Distributed message streaming platform. Producers publish events, consumers read in real-time. Used for log aggregation, stream processing.

Example: LinkedIn processes 1 trillion events/day using Kafka.
🐝 Apache Hive

Data warehouse infrastructure on Hadoop. Provides SQL-like querying (HiveQL) on HDFS data. Best for batch analytics.

🐷 Apache Pig

High-level scripting platform (Pig Latin language) for analyzing large datasets on Hadoop. Converts scripts to MapReduce jobs.

🏪 Data Mart

A subset of a data warehouse focused on a specific business function (e.g., sales data mart, HR data mart). Smaller and faster.

📊 OLAP

Online Analytical Processing — multi-dimensional data analysis. Supports drill-down, roll-up, slice, dice operations. Enables complex BI queries.

Topic 14
Top Analytics Tools
The leading platforms and frameworks in the Big Data analytics ecosystem.
🐘
Apache Hadoop
Distributed storage (HDFS) & batch processing (MapReduce). The foundation of Big Data.
Apache Spark
In-memory computing engine. 100× faster than MapReduce. Supports ML, SQL, streaming.
📊
Tableau
Industry-leading data visualization tool. Connects to 100+ data sources with drag-and-drop dashboards.
🔍
Elasticsearch
Distributed search & analytics engine. Powers full-text search, log analysis (ELK Stack).
🌊
Apache Kafka
Real-time event streaming platform. Handles millions of events/second at enterprise scale.
🐍
Python (Pandas/NumPy)
De facto language for data science. Rich ML ecosystem: scikit-learn, TensorFlow, PyTorch.
☁️
AWS / Azure / GCP
Cloud Big Data services: EMR, Redshift, Databricks, BigQuery — managed, scalable.
❄️
Snowflake
Cloud-native data warehouse. Separates storage & compute. SQL interface for petabyte-scale analytics.
Tool Selection Guide: Batch Processing → Hadoop/MapReduce Real-time Streaming → Kafka + Spark Streaming SQL Analytics → Hive / Snowflake / BigQuery Visualization → Tableau / Power BI ML/AI → Python + Spark MLlib
Unit 1 Summary
Key Takeaways
Everything you need to remember from Unit 1 at a glance.
Data Classification
  • Structured → RDBMS, SQL
  • Semi-structured → JSON, XML
  • Unstructured → 80% of data
Big Data 5 V's
  • Volume — Scale of data
  • Velocity — Speed of data
  • Variety — Types of data
  • Veracity — Quality of data
  • Value — Worth of data
Hadoop Ecosystem
  • HDFS — Distributed storage
  • MapReduce — Processing
  • YARN — Resource management
  • Hive/Pig/HBase — Tools
Analytics Types
  • Descriptive — What happened
  • Diagnostic — Why it happened
  • Predictive — What will happen
  • Prescriptive — What to do
BASE Model
  • Basically Available
  • Soft State
  • Eventual Consistency
  • Used in NoSQL systems
BI vs Big Data
  • BI → structured, batch, SQL
  • Big Data → all types, real-time
  • Hadoop replaces ETL pipelines
  • Open-source vs proprietary
"Data is the new oil — but only if you can refine it."
Big Data gives organizations the tools to refine raw data into competitive advantage.
🎓
End of Unit 1

You've covered the complete foundation of Big Data and Analytics. You're now ready for Unit 2 — Hadoop Architecture, HDFS internals, and MapReduce programming.

18 Slides Covered 12 Major Topics 30+ Real Examples 10+ Visualizations