Skip to content
PMInterviewKit
In this course9 lessons

Data and databases

6 min readFull kit

Where data lives

A product's data rarely sits in one place. Before any database question, it helps to know the four common homes.

HomeWhat it holdsExample
Production databaseThe live records the app reads and writesUsers, orders, messages
CacheCopies of frequently read data, kept in memory for speedA popular product page, a user's session
Object storageFiles: images, videos, documents, backupsProfile photos, uploaded PDFs
Analytics warehouseCopies of data reshaped for analysisEvery order from the last five years, for dashboards

The production database is built to handle many small reads and writes quickly and safely. The warehouse is built to scan huge amounts of data for questions like "revenue by region by month". Data is usually copied from one to the other on a schedule, often called a pipeline or ETL (extract, transform, load). That is why a dashboard can lag behind reality by hours, a fact worth knowing before you diagnose a metric drop that might just be a late pipeline.

The rest of this lesson is in the full kit.

Still to come in this lesson

  • Relational databases and SQL
  • NoSQL databases
  • Choosing: SQL or NoSQL for X
  • Three more words you will hear
  • Recap

The full kit opens the 72 full worked answers, 20 mock interviews with Ava and all 116 lessons.

$129 once for life, or 1 year for $69. 15-day refund.

See plans · from $69

Refund policy

Already own it? Sign in

Checking your access…