Skip to content
mentoor

Choosing a datastore

For engineers

Picking relational, document, key-value, search, vector, columnar or embedded databases by access pattern and consistency needs

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

A team picks a database before any design. What should they write down first?

Choose one answer

Check yourself · 2 of 5

A product page and its 5 fixed variants are always read together and rarely change. Which design fits a document store best?

Choose one answer

Check yourself · 3 of 5

Which workload suits SQLite best?

Choose one answer

Check yourself · 4 of 5

A user updates their email and reloads the page, which reads from an asynchronous replica. What may they see?

Choose one answer

Check yourself · 5 of 5

An assistant says a database setting limits something to a specific number. What should you do first?

Choose one answer

Topics

  1. Starting a database choice from access patterns4 min read · Listing reads, writes, consistency and scale before naming a product, and why one PostgreSQL often covers more than expected
  2. When document and key-value stores fit4 min read · MongoDB-style documents and Redis keys, embedding versus referencing, expiry, and the joins and transactions you give up
  3. Embedded and serverless database options4 min read · SQLite, libSQL and DuckDB inside the app, and serverless PostgreSQL, for prototypes, edge apps and agent sandboxes
  4. Replication lag and read consistency5 min read · Leader-follower replication, replica lag, read-your-writes problems, and when eventual consistency is acceptable
  5. Judging AI database stack recommendations5 min read · Checking an assistant's stack advice for invented features, outdated limits, licence changes and extra databases the app does not need

Start here

Helps to know first

110 questions · last verified 2026-12