Comparisons

Pairs that get conflated in real conversations. Neither column wins — what decides is the requirement, and each record leads with the confusion, because the confusion is the reason the record exists at all.

OLTP vs OLAP

What people get wrong about this pair

People treat these as "small database" and "big database". They are opposite access patterns, and the storage layout that serves one well is the one that serves the other badly.

OLTP
Use it when

Many small transactions against current state, with strict correctness and low latency.

OLAP
Use it when

Large scans across history, aggregated, where a second of latency is irrelevant and completeness is not.

DimensionOLTPOLAP
Rows touched per queryA handful, found by indexA large fraction of a table, scanned
Storage layoutRow-oriented — the whole record is neededColumn-oriented — two columns of eight are needed
What it optimisesLatency of a single operationThroughput of a scan
HistoryOverwritten. It holds current statePreserved. That is most of the point
Correctness modelTransactional, constraint-enforcedWhatever the pipeline's tests assert
ConcurrencyVery high, short operationsLower, long operations