"Big Data" is one of the most frequently repeated terms in the technology industry and, at the same time, one of the most poorly understood. It does not simply mean "lots of data", nor is it a synonym for any particular tool. In this first lesson you will build a precise, useful definition: which characteristics turn a data problem into a Big Data problem, how the size of data is measured, what types of data exist and why the tools you probably already work with (a script on your laptop, a relational database on a single server) stop being enough beyond a certain point.
You will also meet NovaMarket, the fictional company that will accompany us throughout the course. Every example and exercise will draw on its data, so that by the end you will have worked through a complete case from start to finish.
What Big Data is (and what it is not)
Here is a practical definition, which we will use throughout the course:
Big Data is the body of data — together with the techniques and tools for handling it — whose volume, arrival speed or variety of formats exceeds what can reasonably be managed with a single machine and traditional data tools.
Notice two ideas in this definition:
- It is relative to the tools, not a fixed number. What required a cluster of dozens of machines in 2005 now fits on a laptop. The boundary moves with the hardware.
- It includes the techniques, not just the data. When someone says "I work in Big Data", they usually mean that they use distributed systems (several machines cooperating) to store and process data.
Knowing what it is not matters just as much as knowing what it is:
| Common claim | Reality |
|---|---|
| "We have a spreadsheet with 500,000 rows: that's Big Data" | No. That fits comfortably in the memory of any laptop. |
| "Big Data means using Hadoop or Spark" | No. Those are tools; you can run Spark on small data and that does not make it Big Data. |
| "Big Data is the same thing as artificial intelligence" | No. Big Data is often the raw material for AI, but they are separate disciplines. |
| "The more data, the better the decisions" | Not necessarily. Lots of poor-quality data produces wrong conclusions held with great confidence. |
| "Every modern company needs a Big Data platform" | No. A great many problems are better solved with a well-designed database. |
This last idea is important and we will come back to it: a good data professional knows when Big Data is not needed.
The 3 Vs: volume, velocity and variety
The classic way of characterising Big Data is the "three Vs", originally formulated by the analyst Doug Laney in 2001. A problem enters Big Data territory when at least one of them overwhelms traditional tools.
Volume
This is the amount of data that has to be stored and processed. It is the most intuitive V, but it needs some qualification:
- Both the total size (how much the whole history takes up) and the growth rate (how much is added each day) matter.
- Volume becomes a problem when the data does not fit in the memory of one machine, then when it does not fit on its disk and, finally, when reading all of it takes too long even if it does fit.
Velocity
This is the rate at which data is generated and, above all, how quickly you have to react to it:
- A monthly sales report can tolerate hours of computation.
- Detecting a fraudulent payment means deciding within milliseconds, before the transaction is authorised.
Thousands of events per second arriving continuously pose a different problem from a large file processed overnight, even if the total volume is the same.
Variety
This is the diversity of formats and sources: database tables, JSON files, server logs, images, free text, audio, sensor readings... Traditional tools are designed for tables with fixed columns; when much of the information does not have that shape, other solutions are needed.
| V | Question it answers | Warning sign |
|---|---|---|
| Volume | How much is there? | It does not fit on one machine or takes too long to read |
| Velocity | How fast does it arrive and how quickly must we respond? | Data arrives faster than it can be processed |
| Variety | What shapes does it take? | It does not fit into fixed-column tables |
The additional Vs: veracity and value
Over time more "Vs" were added to the list (some people count seven or even ten). Two of them are essential:
Veracity
This is the degree to which the data is trustworthy: complete, correct, consistent and up to date. At scale, quality problems multiply:
- Fields that are empty or hold impossible values (a negative amount, a date in the future).
- Duplicate records because a system resent a message.
- Sources that contradict each other (the order appears as "delivered" in one system and as "shipped" in another).
A 1% error rate in a thousand records is ten rows that somebody can check by hand. A 1% error rate in forty million daily events is 400,000 bad records every day: they can only be dealt with automatically.
Value
This is the benefit the business gets from the data. It is the V that justifies all the others: storing and processing data costs money, and it only makes sense if it leads to better decisions, lower costs or new products. A Big Data project that cannot explain what value it is pursuing is flawed from the outset.
flowchart LR
A[Volume] --> D[Technical challenge:<br/>storing and processing]
B[Velocity] --> D
C[Variety] --> D
D --> E{Veracity:<br/>is it trustworthy?}
E -->|Yes| F[Value for<br/>the business]
E -->|No| G[Wrong<br/>conclusions]
The diagram sums up the relationship: the three original Vs describe the technical challenge; veracity is the filter that determines whether the result can be trusted; and value is the goal.
Units of measurement and orders of magnitude
To reason about volume you need to be fluent with the units. The basic unit is the byte (8 bits), which is roughly equivalent to one character of unaccented text.
| Unit | Symbol | Equivalence | Rough order of magnitude |
|---|---|---|---|
| Kilobyte | kB | 1,000 bytes | Half a page of text; a web event in JSON takes up 0.2 to 1 kB |
| Megabyte | MB | 1,000 kB | A compressed phone photo (2-5 MB); a book in plain text (~1 MB) |
| Gigabyte | GB | 1,000 MB | A high-definition film (4-8 GB); a laptop's RAM (8-32 GB) |
| Terabyte | TB | 1,000 GB | A laptop's disk (0.5-2 TB); a server's disk (several TB) |
| Petabyte | PB | 1,000 TB | The data of a large digital company; thousands of disks working together |
| Exabyte | EB | 1,000 PB | The scale of the largest internet and cloud providers |
Two practical clarifications:
- Decimal versus binary. The units in the table are decimal (powers of 1,000). Operating systems often display binary units (powers of 1,024): kibibyte (KiB), mebibyte (MiB), gibibyte (GiB)... The difference is 7% for gigabytes and 10% for terabytes; that is why a "1 TB" disk shows up as "931 GB" on some systems. For estimates, the decimal version is good enough.
- What matters is the jump between scales. Each step multiplies by a thousand. If something takes 1 second with 1 GB, with 1 TB it will take about 17 minutes and with 1 PB about eleven and a half days (assuming time grows proportionally). A solution that works at one scale rarely works as is three steps further up.
A rough guide that will serve you throughout the course:
| Data size | Reasonable tool |
|---|---|
| Up to a few GB | A laptop, with Python (pandas) or a local database |
| Tens or hundreds of GB | A powerful server or a properly sized database |
| TB and beyond | Distributed systems: the natural territory of Big Data |
These are not exact boundaries: they depend on the type of query, the speed required and the hardware available.
Structured, semi-structured and unstructured data
Variety is easier to understand if we classify data by how structured it is.
Structured data
It has a fixed schema: every record has the same columns, each with a defined data type. These are the tables of a relational database or a well-formed CSV file.
order_id,customer_id,order_date,total_amount,status,channel 1001,48213,2026-06-01 10:17:02,149.90,delivered,web 1002,7355,2026-06-01 10:17:45,39.95,shipped,app
Every row has exactly six fields, in the same order. It is easy to query with SQL.
Semi-structured data
It carries its structure inside the data itself (each record names its fields), but that structure can vary from one record to the next: optional fields, nested fields or lists. The typical formats are JSON and XML.
{"event_id": "ev-0000001", "customer_id": 48213, "event_type": "product_view", "product_id": 1532, "device": "mobile"}
{"event_id": "ev-0000002", "customer_id": null, "event_type": "search", "product_id": null, "device": "desktop"}The second event is a search made by an unidentified visitor: it has no associated customer or product. In a rigid table this forces you to plan every possible column in advance; in JSON each record describes itself.
Unstructured data
It has no predefined data model: free text (customer reviews, emails), images, audio, video, PDF documents. This is the bulk of the data generated in the world and the hardest to analyse, because you first have to extract structure from it (for example, working out whether a review is positive or negative).
| Type | Schema | Examples | How it is queried |
|---|---|---|---|
| Structured | Fixed and defined in advance | Relational tables, CSV | Directly with SQL |
| Semi-structured | Flexible, embedded in the data | JSON, XML, formatted logs | Tools that parse the format |
| Unstructured | No schema | Free text, images, audio, video | Requires prior processing |
Why traditional tools fall short
The "tried and tested" tools — a program on one machine, a relational database on one server — are excellent and have not become obsolete. But they share one assumption: everything happens on a single machine. That machine has three physical limits:
- Memory (RAM): the data you can process comfortably is the data that fits in memory.
- Disk: the history has to fit in the available storage.
- Processor and time: even if it fits, going through all the data takes time proportional to its size.
When the data grows there are two strategies for increasing capacity.
Vertical scaling (scale up)
This means replacing the machine with a more powerful one: more memory, more disk, more cores.
- Advantage: it is simple; the software does not change.
- Drawbacks: there is a physical ceiling (you cannot buy an infinitely large machine), the price rises much faster than the power at the high end, and there is still a single point of failure: if that machine breaks down, everything stops.
Horizontal scaling (scale out)
This means adding more ordinary machines and spreading the data and the work across them. The group as a whole is called a cluster.
- Advantages: there is no practical ceiling (machines are added as needed), the cost grows roughly in proportion and, if one machine fails, the others carry on.
- Drawback: the software becomes much more complicated. You have to split the data, coordinate the machines, combine partial results and plan for failures. Solving that complexity is precisely what Big Data technologies are for.
flowchart TB
subgraph V["Vertical scaling"]
direction LR
A1[Server<br/>16 GB RAM] --> A2[Server<br/>64 GB RAM] --> A3[Server<br/>512 GB RAM]
end
subgraph H["Horizontal scaling"]
direction LR
B1[Node 1] --- B2[Node 2] --- B3[Node 3] --- B4[Node N]
end
| Aspect | Vertical scaling | Horizontal scaling |
|---|---|---|
| How you grow | A more powerful machine | More machines |
| Limit | That of the largest machine available | Practically none |
| Cost of growing | Soars at the high end | Roughly proportional |
| Fault tolerance | Low (single point of failure) | High (if well designed) |
| Software complexity | Low | High |
The central idea of Big Data is this: instead of one enormous machine, many ordinary machines cooperating. In lesson 01-04 we will see how that cooperation is organised, and Modules 2 and 3 are devoted to the technologies that make it possible.
Classic relational databases, moreover, are designed to guarantee the consistency of many small operations (recording an order, updating a stock level). That guarantee is extremely valuable for running the business, but it makes them poorly suited to scanning billions of rows in an analysis, or to absorbing data with no fixed schema. The point is not to replace them, but to complement them.
The course case study: NovaMarket
NovaMarket is a fictional online electronics and homeware shop based in Valencia. Its figures:
- About 2 million registered customers.
- About 50,000 orders a day.
- About 40 million web events a day (every page view, search or click on "add to cart" generates an event).
Its data team is made up of three people, whom you will see making decisions throughout the course:
- Laura, data engineer: she builds and maintains the systems that store and move the data.
- Marc, data analyst: he answers the business's questions using the data.
- Irene, head of data (CDO, Chief Data Officer): she decides where to invest and is accountable for the value obtained.
The datasets
We will always work with these five datasets and these column names:
| Dataset | Columns | Description |
|---|---|---|
orders |
order_id, customer_id, order_date, total_amount, status, channel |
One record per order. status: pending, shipped, delivered or returned. channel: web or app. |
order_lines |
order_id, product_id, quantity, unit_price |
One record for each product included in an order. |
products |
product_id, name, category, price |
The catalogue. |
customers |
customer_id, name, province, signup_date |
The registered customers. |
web_events |
event_id, customer_id, session_id, event_type, product_id, event_time, device |
The browsing activity (clickstream) in JSON format. event_type: product_view, add_to_cart, purchase or search. |
The names are in lower case, with underscores and without spaces, accents or other special characters (hence add_to_cart): this is a common convention that avoids compatibility problems between tools.
Classification by the Vs
| Dataset | Volume | Velocity | Variety | Is it Big Data on its own? |
|---|---|---|---|---|
customers |
2 million rows (~200 MB) | Low: occasional sign-ups and changes | Structured | No |
products |
Tens of thousands of rows (a few MB) | Very low | Structured | No |
orders |
50,000 a day, ~18 million a year (~2 GB/year) | Medium: a continuous but moderate flow | Structured | No |
order_lines |
~125,000 a day, ~45 million a year | Medium | Structured | No |
web_events |
40 million a day, several TB a year | High: hundreds of events per second, with peaks | Semi-structured | Yes |
Two conclusions worth taking on board right away:
- Not all of a company's data is Big Data. NovaMarket's orders, which are its most valuable data, fit in an ordinary relational database. What overwhelms traditional tools is the clickstream.
- Value usually appears when you combine them. Knowing which products are viewed a lot and bought rarely means joining
web_events(enormous) withproductsandorders(small). As soon as one large dataset takes part in the analysis, the whole analysis inherits the scale problem.
As for veracity, web events are the most problematic dataset (duplicates caused by retries, unidentified visitors, bots browsing as if they were people). And as for value, Irene is clear about what she expects from them; we will see that in the next lesson.
Practical example: estimating the scale problem with Python
Before building anything, Laura does what any data engineer does: she estimates. How much space does the clickstream take up? How long would an ordinary program take to go through it? The following script answers with pure Python, with nothing to install.
If you already have Python 3 installed, save the code as
estimate_scale.pyand run it withpython3 estimate_scale.py. If not, just read it: in lesson 01-05 we will set up the complete environment.
import json
import time
# 1. A sample event, as recorded by the NovaMarket website
event = {
"event_id": "ev-0000001",
"customer_id": 48213,
"session_id": "s-000917",
"event_type": "product_view",
"product_id": 1532,
"event_time": "2026-06-01T10:15:30",
"device": "mobile",
}
# 2. How much space one event takes up serialised as a line of JSON
line = json.dumps(event) + "\n"
bytes_per_event = len(line.encode("utf-8"))
# 3. We extrapolate to NovaMarket's real volume
EVENTS_PER_DAY = 40_000_000
GB = 1000 ** 3
TB = 1000 ** 4
bytes_per_day = bytes_per_event * EVENTS_PER_DAY
print(f"Size of one event: {bytes_per_event} bytes")
print(f"Daily volume: {bytes_per_day / GB:.1f} GB")
print(f"Yearly volume: {bytes_per_day * 365 / TB:.2f} TB")
# 4. We measure how long a single process takes to read (parse) events
N = 1_000_000
start = time.perf_counter()
purchases = 0
for _ in range(N):
e = json.loads(line)
if e["event_type"] == "purchase":
purchases += 1
elapsed = time.perf_counter() - start
events_per_second = N / elapsed
seconds_per_day = EVENTS_PER_DAY / events_per_second
print(f"Read speed: {events_per_second:,.0f} events/s")
print(f"Processing one day: {seconds_per_day / 60:.1f} minutes")
print(f"Processing one year: {seconds_per_day * 365 / 3600:.1f} hours")What each block does:
- The sample event is a Python dictionary with the seven columns of
web_events. json.dumpsconverts the dictionary into JSON text, just as it would be stored in a file (one event per line). With.encode("utf-8")we get the actual bytes andlencounts them.- The extrapolation multiplies the size of one event by the 40 million daily events. The underscores in
40_000_000are just a visual aid that Python allows in numbers. - The measurement repeats a million times the minimum operation any analysis would perform: parsing the line with
json.loadsand checking one field.time.perf_counter()is a high-precision stopwatch; subtracting two readings gives us the duration.
A typical output (the timings depend on your machine):
Size of one event: 191 bytes Daily volume: 7.6 GB Yearly volume: 2.79 TB Read speed: 512,782 events/s Processing one day: 1.3 minutes Processing one year: 7.9 hours
How to interpret the result
- One day of events is not a big problem. 7.6 GB and a little over a minute: a laptop can cope with that. This is a valuable lesson in itself.
- The history is. Almost 3 TB a year does not fit on a laptop's disk, and in three years it will be more than 8 TB. What is more, the estimate is optimistic: real events include more fields (page address, browser, source campaign...) and usually take up three to five times as much.
- The time measured is the best possible case. We have only counted the cost of parsing the JSON. Reading from disk and any real computation (grouping, sorting, joining with another table) are missing. Even so, each question about a year of data would cost about eight hours. An analyst like Marc asks dozens of questions a day.
- We only use one core. The program processes the events one at a time, even if the machine has eight cores. Spreading the work across cores — and across machines — is exactly what the tools we are going to study automate.
Laura's conclusion: for the clickstream, NovaMarket needs horizontal scaling.
Common Mistakes and Tips
- Calling anything Big Data. Before using the term, quantify: how many records? How many GB? How much does it grow each month? A five-minute estimate, like the one in the example, avoids expensive decisions.
- Looking only at volume. A system with little data but which demands a response within milliseconds, or with very heterogeneous formats, may also need Big Data techniques.
- Forgetting veracity and value. They are the least technical Vs and the ones that cause the most projects to fail.
- Confusing size on disk with size in memory. A 1 GB CSV or JSON file can take up several times more once loaded into memory with Python, because every value becomes an object. Just because it "fits on disk" does not mean it fits in RAM.
- Mixing decimal and binary units in the same estimate. Pick one and stick to it.
- Tip: always estimate with round numbers and by orders of magnitude. It does not matter whether it is 7.6 or 9 GB a day; what matters is knowing that it is "a few GB a day and a few TB a year".
Exercises
Exercise 1: classifying by the Vs
For each situation, say which V plays the leading role (volume, velocity, variety, veracity or value) and justify it in one sentence:
- 3% of NovaMarket's web events arrive duplicated because the mobile app retries sending them when it loses signal.
- The customer service team wants to analyse 300,000 complaint emails written in free text, together with the attached photos of damaged products.
- During Black Friday the website receives 5,000 events per second and the sales dashboard has to refresh every few seconds.
- Irene is unsure whether to keep events more than five years old, because nobody has ever queried them.
Exercise 2: estimating a volume
NovaMarket decides to record internal searches in more detail as well. Each record will take up about 400 bytes and 6 million searches a day are expected.
- How much space will one day of data take up? And one year?
- Would you say that this dataset, on its own, is a Big Data problem?
Exercise 3: adapting the script
Modify estimate_scale.py to estimate the volume of orders instead of web_events. Use as your sample an order with its six columns and remember that there are 50,000 orders a day. What conclusion do you draw from comparing the two results?
Solutions
Exercise 1
- Veracity. The duplicates mean the data does not faithfully reflect reality (visits would be overcounted).
- Variety. This is unstructured data (free text and images), which does not fit into tables.
- Velocity. The challenge is the arrival rate and the speed of response required.
- Value. The question is whether the usefulness of that data outweighs the cost of keeping it.
Common mistake: answering "volume" in case 2 because 300,000 sounds like a lot. It is not: the challenge lies in the format, not the quantity.
Exercise 2
- One day: 400 bytes × 6,000,000 = 2,400,000,000 bytes = 2.4 GB. One year: 2.4 GB × 365 = 876 GB ≈ 0.9 TB.
- It is borderline. One day can be processed on a single machine without difficulty; several years of history (several TB) cannot. The honest answer is "it depends on how much history has to be analysed at once and how quickly", and that nuance is precisely what is expected of a professional.
Exercise 3
You only need to change the sample dictionary and the daily constant:
import json
order = {
"order_id": 1001,
"customer_id": 48213,
"order_date": "2026-06-01 10:17:02",
"total_amount": 149.90,
"status": "delivered",
"channel": "web",
}
bytes_per_order = len((json.dumps(order) + "\n").encode("utf-8"))
ORDERS_PER_DAY = 50_000
bytes_per_day = bytes_per_order * ORDERS_PER_DAY
print(f"Size of one order: {bytes_per_order} bytes")
print(f"Daily volume: {bytes_per_day / 1000**2:.1f} MB")
print(f"Yearly volume: {bytes_per_day * 365 / 1000**3:.2f} GB")The result is around 140 bytes per order, about 7 MB a day and about 2.6 GB a year. In other words, orders take up roughly a thousand times less than web events. The conclusion: within the same company, data that fits in a traditional database coexists with data that demands Big Data, and each has to be handled with the right tool.
Conclusion
In this lesson you have established the basic vocabulary of the course:
- Big Data is not "lots of data", but data whose volume, velocity or variety exceeds what a single machine and traditional tools can reasonably handle.
- The 3 Vs (volume, velocity, variety) describe the technical challenge; veracity determines whether the results can be trusted and value justifies the effort.
- Units jump a thousandfold at a time (GB → TB → PB) and each jump usually calls for a change of tools.
- Data can be structured, semi-structured or unstructured.
- When data grows, vertical scaling has a ceiling; horizontal scaling (many machines cooperating) is the foundation of Big Data.
- At NovaMarket, orders and customers are "ordinary" data, whereas
web_eventsis a clear case of Big Data.
You now know what Big Data is and how to recognise it. The natural question is: what is all that effort for? In the next lesson, Importance and Applications of Big Data, we will see what value organisations get from their data, sector by sector, and which specific use cases NovaMarket wants to tackle.
