Edexcel International Advanced Level Computer Science, point 6.1.1
Definition
Big data is data that is so large, fast-moving or varied that it can't be handled with ordinary tools and a single computer. It's characterised by the five Vs.
Function and why needed
Organisations collect big data to find patterns and make better decisions: shops predict what customers will buy, hospitals spot disease trends, and transport firms plan routes from live traffic. Ordinary databases and spreadsheets can't store or analyse it in reasonable time, so special techniques and infrastructure are needed.
a. The five Vs
| V | Meaning | Example |
|---|---|---|
| Volume | The amount of data: terabytes to petabytes and beyond | Billions of social media posts, years of sensor logs |
| Velocity | The speed at which data is generated and must be processed | Card transactions checked for fraud as they happen; live traffic data |
| Variety | The different forms of data: structured (tables), semi-structured (JSON, XML) and unstructured (text, images, video, audio) | A company's sales tables, emails, photos and call recordings |
| Veracity | How accurate and trustworthy the data is: it may have errors, gaps, bias or duplicates | Sensor faults, fake reviews, inconsistent spellings |
| Value | The usefulness of the data: it must produce insight or benefit that justifies the cost of keeping it | Better product recommendations, reduced fraud |
Having lots of data isn't enough: if the veracity is poor or it has no value, analysis can be misleading or wasteful.
b. Infrastructure
Big data needs a chain of capabilities:
| Stage | What it involves |
|---|---|
| Collection | Gathering data from many sources: sensors, apps, logs, transactional systems (such as point-of-sale tills), web scraping (6.1.2), social media and streaming tools that capture data as it is produced. Needs fast, reliable capture |
| Storage | Holding huge volumes: distributed storage across many servers, cloud storage, data lakes, data warehouses and NoSQL databases, with backup and redundancy |
| Processing | Running calculations on the data, often in parallel on many machines (distributed processing), in batches or as a live stream |
| Modelling and analysis | Finding patterns: statistics, machine learning (6.2.2), visualisation |
| Networking | High-bandwidth, low-latency links between sources, storage and processors (3.1.2) |
| Security | Protecting the data: encryption (3.2), access control, authentication, monitoring, and compliance with data protection law |
Batch and stream processing
| Batch processing | Stream processing | |
|---|---|---|
| How | Data is collected over a period, then processed in one large group at set times | Data is processed continuously, as it arrives |
| Suits | Work that can wait: nightly sales reports, monthly bills | Work that can't wait: fraud checks on card payments, live traffic updates |
| Links to | Volume (lots of data at once) | Velocity (data arriving fast) |
Data lake and data warehouse
- A data lake holds raw data in any form (structured, semi-structured or unstructured), kept as it arrived, for later analysis.
- A data warehouse holds structured, cleaned data, organised so that it can be queried quickly and turned into reports.
Distributed processing
Instead of one very powerful computer, the work is split across many ordinary computers working at the same time: each handles a part of the data, and the results are combined. This is cheaper and scalable (add more machines), and continues if one fails. It is related to parallel processing (11.1.4).
Benefits
- Better decisions based on evidence.
- Personalised services and recommendations.
- Spotting problems early (fraud, faults, outbreaks).
- Efficiency: better planning of stock, routes and energy.
- New discoveries in science and medicine.
Drawbacks and issues
- Cost and complexity of the infrastructure and skills.
- Privacy: personal data can be misused or leaked, and the law (such as data protection regulations) restricts how it is used.
- Security risks: a large store of data is an attractive target.
- Poor quality data gives wrong conclusions (low veracity).
- Bias in data produces unfair decisions.
- Environmental impact of the energy used by data centres.
- Ethical issues: surveillance, consent and ownership of data.
Worked example
Task: a supermarket chain plans to use big data from loyalty cards, till receipts, weather data and social media to predict demand. Link this to the five Vs and name one issue.
| V | In this example |
|---|---|
| Volume | Millions of receipts a day across all stores |
| Velocity | Tills send data continuously, and stock should be adjusted the same day |
| Variety | Structured receipts, weather feeds, unstructured social-media posts |
| Veracity | Duplicate loyalty cards, mis-scanned items, unreliable opinions online |
| Value | Less waste (fewer unsold perishables) and fewer empty shelves |
Issue: loyalty card data is personal, so the chain must secure it, tell customers how it is used, and follow data protection law.
Exam tip: learn the five Vs and give an example for each that fits the scenario. For infrastructure, say what is needed at each stage, and name one security measure (such as encryption). Link veracity to data quality.
Check yourself
Name the five Vs of big data
Volume, velocity, variety, veracity and value.
What does veracity mean?
How accurate and trustworthy the data is.
Why can't ordinary databases handle big data?
The data is too large, fast-moving or varied to store and process on a single computer in reasonable time, so distributed storage and processing are needed.
Give two security measures for big data
Any two of: encryption; access control; authentication; monitoring; backups; compliance with data protection law.
Give one ethical issue with big data
Any one of: privacy and consent; surveillance; bias in decisions; ownership of personal data.