Skip to content

Topic

Query benchmarking

Measuring database and framework behaviour under controlled conditions by counting the statements issued and timing repeated runs.

Current clusters

build1 publisher

FETCH_PEERS trades 1,999 Django round trips for one IN clause

Django 6.1's queryset-level fetch_mode took a 2,001-query loop down to two in a Postgres test and did the same for deferred fields, but not for the reverse foreign key managers on the many side of a relation.

Publishers:dev.to

Reality

Evidence66
Adoption20
Hype gap+12
Incentives28
Confidence58