AlgoViz

Sharding & replication

medium 30 min

Scale a database past one machine by splitting rows over shards, and keep it available by copying every shard.

Check yourself

One question at a time. Each answer explains why.

Question 1 of 10

Score 0
conceptual

Which replication method records row changes instead of SQL text, so random functions give the same result everywhere, and can work between database versions?

Pick an answer to see why.

Flashcards

Say your answer, then reveal it.

Card 1 of 10

Recall

What distinguishes hash partitioning from range partitioning?

Say your answer, then reveal it.

These cards come back in Today, just before you would forget them.