aımnova
DashboardMy LearningCrash CoursesStudy 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
  • Crash Courses
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Teachers
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aımnova

IB study, practice and feedback built around the real exam.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.c1e448f

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.45 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

  1. 1One database, many machines
  2. 2What it buys
  3. 3What it costs — and the trade-off you must name
  4. 4Exam-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

Features of a distributed database the guide lists

FeatureWhat it means
Replication / data partitioningCopies of data kept on several machines / data split between machines (fragmentation, above)
Data consistency + ACIDEvery copy must agree; transactions spanning several nodes must still be atomic, consistent, isolated and durable
Concurrency controlLocks or timestamps stop two users on different nodes changing the same data at once
Distribution transparencyUsers and programs see one database, not many machines
Location transparencyA query does not need to say where the data is stored
Global query processingOne query is split, run on the nodes that hold the data, and the results combined
Fault toleranceThe system keeps working when a node fails, using other copies
ScalabilityCapacity grows by adding nodes
Data securityData travelling between sites is encrypted and every node enforces the same access rights

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 between staying consistent and staying available.

Stay consistent

  • Refuse to answer rather than risk returning stale data

Stay available

  • Answer from whatever copy is reachable
  • Accept that it may be out of date
A business decision: 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

Banking balance — consistent

  • Better to refuse than to allow two withdrawals of the same money

Social media feed — available

  • A post arriving a few seconds late is nobody's disaster
Pick the right side for the scenario: 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 answer broken into clear points, with guidance on how each point earns marks.

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 databases3.2.1Database schemas3.2.2ERDs3.2.3Data types
View all Computer Science HL topics
Improve your exam techniqueCommand terms, paper structure, and mark-scheme tips for Computer Science HL
Previous3.4.3OLAP and data miningNextTypes of machine learning4.1.1

3 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