Article
The challenges of big data
A company has a petabyte of data and one question. The data does not fit on one computer. Some rows are wrong. Some people are missing from it. Some of it is private. Having a lot of data is not the same as having the answer. This article lists the four main challenges, so that you can spot each one.
Size: storing and processing
A petabyte does not fit on one disk, so it is stored across many computers. It is also too slow to process on one. Last article, reading 1 PB took about 116 days on one computer. Now share the reading between 1,000 computers, so each reads 1 TB at the same time. The reading takes about 2.8 hours (ignoring communication). This is distributed computing from Unit 4. The same idea works inside one machine as parallel computing.
The best solutions are scalable: when the data doubles, you can add more computers and keep going, without starting again from nothing. A design with one very big computer is less scalable, because one computer has a limit, however much you spend.
The algorithm matters too. Take a program that compares every record with every other, so it needs n × n steps. On a computer that does a billion steps each second:
| Records (n) | Steps (n × n) | Time |
|---|---|---|
| 1,000,000 | 1,000,000,000,000 | about 17 minutes |
| 1,000,000,000 | 1,000,000,000,000,000,000 | about 32 years |
Even a reasonable-time algorithm can be too slow for a big data set. Many computers help, and so does a smarter algorithm, which needs fewer steps for each record. Neither is enough alone. An unreasonable-time algorithm (exponential or factorial) cannot be rescued by any number of computers.
Check your understanding
A researcher joins the records of four clinics. One clinic writes dates as day/month/year and another as month/day/year. Some write "Dr" and others write "Doctor". What is the most likely challenge?
Quality: messy data, cleaned at scale
Big data is usually messy. It comes from many sources, in many formats, some with mistakes.
| City | Age | Date |
|---|---|---|
| New York | 34 | 03/04/2026 |
| NYC | 29 | 2026-04-03 |
| new york | 200 | 4 March 2026 |
| New York | (empty) | 03/04/2026 |
The city is written three ways. One age is impossible. One is missing. And 03/04/2026 could be 3 April or 4 March, depending on the country. Cleaning data means making it uniform (everyone uses one spelling, one date format) without changing its meaning, and dealing with wrong or empty values.
At a billion rows you cannot fix errors by hand, so a program cleans the data by rules. This brings two dangers.
- A rule can make a mistake on millions of rows at once.
- If a rule deletes every row with a problem, it may delete some groups more than others. If the rows from one region are the messy ones, that region disappears from the answer.
People: privacy and bias
Privacy. Big data is often about people: where they go, what they buy, who they talk to. Each record may look harmless. Joined together, records can show where a person lives or what they are interested in. So a team must decide what to keep, who may see it, and how to protect it.
Bias. Data is biased when it leaves out or under-counts some groups, so the answer is unfair to them. Here is the most important idea of this article: more data does not fix biased collection. Look at a city app where residents report potholes. Assume the roads are equally bad in both areas, and every app user reports one pothole a month.
| Area | Residents | Have the app | Reports in one month | After ten months |
|---|---|---|---|---|
| North | 30,000 | 80% (24,000) | 24,000 | 240,000 |
| South | 30,000 | 20% (6,000) | 6,000 | 60,000 |
North always has four times as many reports as South. The data says "fix North first", but the roads are equal. Collecting ten times more data in the same way gives the same 4 to 1 mistake, only with bigger numbers. To fix it, you must change how the data is collected, for example by also asking people without the app.
Two more warnings. Bias can come from who is asked, what is measured, or who labels the data. And with a huge data set, a few patterns will appear by pure chance. A pattern is a reason to ask a question, not an answer.
Check your understanding
A school asks about its new menu with a poll on the screen inside the canteen, so only students who eat there answer. The school then collects ten times as many answers in the same way. What is the most likely result?
The whole journey
From collection to insight
Collect
Who is missing? (bias)
Store
Too big for one disk
Clean
Messy and mixed formats
Process
Needs many computers
Conclude
Was it a good question?
A good question comes first. "What is in this data?" is not a question. "Do students who sleep more get better marks?" is. The question tells you what to collect and what to ignore.
Worked example
A hospital group asks, "Do patients recover faster with treatment X?" It has 40 million records from 30 hospitals. Name the challenges:
- Size: 40 million records, so it needs a scalable solution with many computers.
- Cleaning: each hospital writes dates and drug names differently.
- Privacy: health records are very private.
- Bias: only two of the 30 hospitals are in rural areas. Rural patients are rare in the data, so the answer may not fit them.
Common mistakes
- "A bigger data set is always more accurate." Only if it is collected fairly. A huge biased data set is still biased.
- "Cleaning means deleting bad rows." Cleaning fixes values. Deleting rows can remove whole groups.
- "More computers solve everything." They help with size. They do not remove bias, mess or privacy risk.
- "A pattern means a cause." A pattern is only a clue.
On the exam
Expect "Which is the most likely challenge of analysing this data set?" and read the data for clues. Too much data or time: size, which needs parallel or distributed computing. Mixed spellings or formats, or missing values: cleaning. Some people not included: bias. Be ready for "Which is true about the scalability of …?" (the answer: it can grow by adding resources) and "Why might more data not lead to better conclusions?" (the data may be biased, and more of the same collection is still biased).
Key words
Scalable: able to handle more data by adding resources, without being rebuilt.
Cleaning data: making data uniform, without changing its meaning, and dealing with wrong or missing values.
Privacy: a person's control over data about them.
Bias: data or results that leave out or under-count some groups.