Which data store type fits the workload (relational vs document vs key-value vs graph vs time-series)

Verdict: Match the workload's data shape to the store. Multi-table records needing ACID transactions go relational; variable per-record JSON goes document; simple id lookups go key-value; multi-hop relationships go graph; high-ingest timestamped metrics go time-series.

CriterionRelationalDocumentKey-valueGraphTime-series
Data shapeNormalised tables referencing each other by primary keyJSON documents with per-record schema flexibilityA unique key paired with an opaque valueEntities as nodes joined by links defining relationshipsValues organised by time, ingested at high volume
Best forFinancial ledgers and billing needing strict multi-table transactionsProduct catalogues and profiles where fields vary per recordCaching, sessions, and feature-flag lookups by a simple idMulti-hop traversals such as social networks or fraud ringsSensor and metric streams needing near real-time time-window aggregation

Rules

Traps