Choosing the right database

Stage 1 · Lesson 3 of 6

Reads, writes and how much data

Start from the data, not the product

Next, estimate the mix. Is the app mostly reading, like a blog or a course catalogue, or mostly writing, like a sensor logger or a chat? How many records will exist after a year: thousands, millions, billions?

How big is each one? Rough numbers are enough. A shop with 5,000 products and 200 orders a day is small for any modern database, and a single instance will handle it for years.

A fleet of devices sending a reading every second is a very different job. apps benefit from caches and . Write-heavy, append-only streams suggest time-series or columnar tools.

Common trapplanning for imaginary scale: most student and early-stage projects never leave the range where one ordinary database is plenty.

A question to check yourself, an AI practice session and 1 cheat sheet entry come with the full roadmap. Unlock

Resources for this stage

Start with· follow one of these

Practise

  • Pick any dataset and practise describing its shape, size and the questions you would ask of it

Keep handy

  • The data types chapter shows how much one relational database can store, JSON included

  • The data modelling introduction shows the same questions from the document side

Also worth your time

Mark this stage as not done?