Safari Reading List Wiki Home About Schema Log Sources

Concepts

Database Performance and Scaling medium

Type
concept
Tags
data-systems software-engineering
Confidence
medium
Created
2026-08-09
Updated
2026-08-09
Sources
raw/articles/how-databases-handle-10-million-devices-in-high-cardinality-benchmarks-t-1d4fa71ae78a.md, raw/articles/top-10-best-practices-tips-for-clickhouse-487b9335d51f.md, raw/articles/rebuilding-postgres-for-300x-faster-analytics-batching-operator-fusion-a-f2691548044e.md, raw/articles/scaling-postgresql-to-power-800-million-chatgpt-users-openai-d583ad8a9eff.md, raw/articles/we-replaced-redis-with-mysql-for-inventory-reservations-and-it-scaled-20-e331d101bf80.md

Database Performance and Scaling

The data-systems material favors workload-specific design over universal database rankings. It repeatedly connects performance to data layout, execution model, access pattern, and operational boundaries such as pool contention, replication, or migration safety.

Synthesis

  • High-cardinality and analytical workloads foreground schema design, sorted keys, sparse or skipping indexes, batching, vectorization, and reduced data movement. [src] [src] [src]
  • The OpenAI PostgreSQL account shows a complementary operational pattern: a single write primary, broad read replication, sharding only for appropriate writes, pooling, and isolation of workloads. [src]
  • Shopify’s reservation migration is a reminder that the observed bottleneck can sit outside the query itself; attribution, connection-hold time, shadow writes, and gradual cutover were part of the performance result. [src]

Interpretation boundary

Reported speedups are source- and benchmark-specific. Reuse their mechanisms and measurement methods, not their headline multipliers.

Related pages