aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aimnova.

AI-powered study platform for smarter revision, past-paper analysis and examiner-style feedback.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.8afc4e3

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesComputer Science HLTopic 3.4Distributed databases
Back to Computer Science HL Topics
3.4.44 min read

Distributed databases (Computer Science HL)

IB Computer Science • Unit 3

IB exam ready

Study like the top scorers do

Access a smart study planner, AI tutor, and exam vault — everything you need to hit your target grade.

Start Free

Contents

  • One database, many machines
  • What it buys
  • What it costs — and the trade-off you must name
  • Exam-style question
The big idea: A distributed database spreads data across several machines, often in different places, while appearing to users as one database.

The reason is usually simple: the data no longer fits on one machine, or the service cannot afford that machine failing.
ReplicationFragmentation (sharding)
DoesKeeps copies of the same dataSplits the data between machines
Helps withAvailability and read speedCapacity and write throughput
A machine failsAnother copy serves itThat portion is unavailable
CostCopies must be kept in stepA query spanning shards is expensive
Most real systems do both: Shard to fit the data, then replicate each shard so no single failure loses a portion. The two solve different problems and are not alternatives.

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime

Availability

  • One machine failing does not stop the service
  • Maintenance without downtime
  • A whole data centre can be lost and the system survive

Scale

  • Add machines rather than buying a bigger one
  • Storage and write capacity grow together
  • There is a limit to how large one machine can be

Locality

  • Keep data near the users who read it
  • A request crossing the world costs real latency
  • Some laws require data to stay in a country

Memorize terms 3x faster

Smart flashcards show you cards right before you forget them. Perfect for definitions and key concepts.

Try Flashcards FreeYour first topic is free to keep • No credit card required
Consistency against availability: When machines cannot reach each other, the system must choose:

Stay consistent — refuse to answer rather than risk returning stale data. Stay available — answer from whatever copy is reachable, accepting that it may be out of date.

You cannot have both during a network partition, and which one you choose is a business decision.

The other costs

  • Complexity — far harder to design, operate and reason about
  • A query spanning shards may need a join across the network, which is slow
  • Eventual consistency means a read straight after a write can return the old value
  • Debugging is harder: the fault may be in the network, not in any machine
  • Transactions across machines are difficult and often not offered at all
Pick the right side for the scenario: A banking balance must be consistent — better to refuse than to allow two withdrawals of the same money.

A social media feed should stay available — a post arriving a few seconds late is nobody's disaster.

An answer naming which matters here is the one that scores.

How this is tested — you must distinguish replication from fragmentation, and choose a side of the consistency trade-off from the scenario. It comes up two ways:

Paper 1 Section A

  • Describe the features of distributed databases, 3-4 marks
  • Define replication or fragmentation
  • State one advantage of distribution

Paper 1 Section B — case study

  • Justify distribution for a scenario
  • Explain the consistency–availability trade-off
The classic trap: Listing advantages without the cost. Distribution forces a choice between consistency and availability during a partition, and the answer must say which this scenario needs and why.
IB-style questionDescribe[6 marks]

A global messaging service stores billions of messages and must stay usable when a data centre fails. Describe how a distributed database would be used, and the trade-off it forces.

Model answer plan

See the mark-by-mark plan — for / against / judgement, with marking guidance — in study mode.

Claim your free topic

IB Exam Questions on Distributed databases

Practice with IB-style questions filtered to Topic 3.4.4. Get instant AI feedback on every answer.

Practice Topic 3.4.4 QuestionsBrowse All Computer Science HL Topics

How Distributed databases Appears in IB Exams

Examiners use specific command terms when asking about this topic. Here's what to expect:

Define

Give the precise meaning of key terms related to Distributed databases.

AO1
Describe

Give a detailed account of processes or features in Distributed databases.

AO2
Explain

Give reasons WHY — cause and effect within Distributed databases.

AO3
Evaluate

Weigh strengths AND limitations of approaches in Distributed databases.

AO3
Discuss

Present arguments FOR and AGAINST with a balanced conclusion.

AO3

See the full IB Command Terms guide →

Related Computer Science HL Topics

Continue learning with these related topics from the same unit:

3.1.1Relational databases
3.2.1Database schemas
3.2.2ERDs
3.2.3Data types
View all Computer Science HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Computer Science HL

Previous
3.4.3OLAP and data mining
Next
Types of machine learning4.1.1

1 exam-style questions ready for you

Students who practice on Aimnova improve their scores by 15% on average. Get instant feedback that shows exactly how to improve your answers.

Practice Now — FreeView All Computer Science HL Topics