DSA Factory
Free Indexes, queries and scale lessonsIndexes, queries and scale · Stage 3 · Scaling out · Step 3

Choosing a data store

The families of non-relational stores, what each is good at, and a way to decide between them and a relational database. About 12 minutes.

Quick check

Which is the strongest reason to choose a document store over a relational database?

  1. AThe data is read and written as whole, flexibly shaped objects, with few cross-object queries
  2. BIt is newer and faster for everything
  3. CIt provides stronger transactions across many records
Show the answer

The data is read and written as whole, flexibly shaped objects, with few cross-object queries. One read per object, with no schema migrations.

Lock it in

4 questions on this idea

Short questions that apply the idea to new cases: trace it, work out a number, put steps in order. A wrong answer explains itself.

Answer them in your browserFree account, no card. Your progress is saved, and the idea comes back in a quick review later.
Sign up free to solve