Skip to content

Topic

Database benchmarking method

Practice of measuring database performance under controlled workloads, comparing latency, throughput and recall across versions or indexes using repeated runs.

Current stories

buildOne report1 publisher

Benchmark clocks MongoDB's old $range workaround up to 31% slower than 8.3's arrayIndexAs

MongoDB's old $range/$arrayElemAt index workaround ran up to 31% slower than 8.3's new arrayIndexAs option, a dev.to benchmark found. A concurrency test in the same post shrank that edge sharply, so the case for rewriting depends on array size and spare CPU.

Publishers:dev.to

Reality

Evidence45
Adoption
Not scored
Hype gap+20
Incentives
Not scored
Confidence50
leadershipOne report1 publisher

Aerospike's CTO would judge a database at 3x load with a node down and two years of data growth

Srini Srinivasan argues that evaluations run at comfortable utilization only measure the flat part of the queueing curve. His alternative asks for p99.9 under conditions a two-week bake-off has to manufacture.

Publishers:forbes.com

Reality

Evidence42
Adoption
Not scored
Hype gap+20
Incentives85
Confidence60
buildOne report1 publisher

A CAST in the GROUP BY key turns 440 buffer reads into 8,971 in PostgreSQL 17

Aleksander Frolov loaded a million orders into MySQL 8.4.11 and PostgreSQL 17.11 and found the aggregating view 13 times slower on Postgres, even though the planner pushed both predicates below the grouping.

Publishers:dev.to

Reality

Evidence68
Adoption
Not scored
Hype gap+12
Incentives30
Confidence62
buildOne report1 publisher

Partial indexes on Postgres queues: 41x smaller, 6.9% faster, one bound parameter from 7 tps

A 10M-row benchmark on Postgres 17 found the partial index barely quicker than a composite, 41x smaller, and unusable under a generic plan, where throughput fell from 11,752 tps to 7.

Publishers:dev.to

Reality

Evidence70
Adoption
Not scored
Hype gap+12
Incentives22
Confidence62