Back to Topic 3.4 — Alternative databases
3.4.4Computer Science HL5 flashcards

Distributed databases

Practice Flashcards

Flip to reveal answers
Card 1 of 53.4.4
3.4.4
Question

Replication or fragmentation — what is the difference?

Click to reveal answer

Track your progress — Sign up free to save your progress and get smart review reminders based on spaced repetition.

All 5 Flashcards — Distributed databases

Sign up free to track progress and get spaced-repetition review schedules.

Card 1comparison

Question

Replication or fragmentation — what is the difference?

Answer

**Replication** keeps copies of the same data (availability, read speed). **Fragmentation** splits data between machines (capacity, writes).

Card 2concept

Question

What happens if a shard's machine fails?

Answer

**That portion becomes unavailable** — unless the shard is also replicated, which is why real systems do both.

Card 3definition

Question

What is the consistency–availability trade-off?

Answer

During a network partition you either **refuse to answer** (consistent) or **answer from a reachable copy** (available, possibly stale). You cannot have both.

Card 4example

Question

Which would a bank choose, and which a social feed?

Answer

A bank chooses **consistency** — better to refuse than to allow a double withdrawal. A social feed chooses **availability** — a late post is harmless.

Card 5definition

Question

What is eventual consistency?

Answer

Copies are brought into step **shortly after** a write, not instantly — so a read straight after a write can return the old value.

Track your progress with spaced repetition

Sign up free — Aimnova tells you exactly which cards to review and when, so you remember everything before your IB exam.

Start Free