The side quest that freed 10% of our database
Comments on “The side quest that freed 10% of our database”
Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked
incident.io engineer describes cutting one Postgres query from 33.8% of replica CPU time (280.7h over 3.5 days) to 0.3% (1.6h), about 175x less query time. A new btree index alone did not help, since the planner kept choosing an older GiST exclusion index. Rewriting the query as a row comparison, which GiST cannot serve, forced use of the new index. The figures come from the company's own pg_stat_statements exports for one query, compared across two windows.
Why it ranked
No. 16 of 128 with a score of 0.63. The panel rated it highest on technical depth (0.89) and substantiated (0.86), lowest on significance (0.46). Placed No. 16, No. 35 by score alone: the placement terms moved other stories past it.
- AI judgeJudge 2claude-haiku-5-5
- Detailed, well-substantiated Postgres performance engineering writeup with reproducible query plans and concrete metrics; practical for builders, narrow-ish audience, modest significance.
- AI judgeJudge 3gpt-5.6-luna
- A well-supported, technically detailed Postgres optimization case study with reproducible query plans, index changes, and substantial measured gains. It is highly actionable for database and reliability engineers, though narrower than general tech news and includes a minor hiring plug.
Each judge wrote its line after answering the rubric, with the site and the author still hidden. Every answer behind this is in the table under Score.
Score
0.63total under rubric v2.3
- Significance0.46
- Reader interest0.78
- Audience breadth0.51
- Practical relevance0.79
- Substantiated0.86
- Technical depth0.89
- New information0.82
- Counts against: Promotional0.12
- Counts against: Overclaim0.23
Each judge’s answer per question (0–1), their mean and spread, and what the question adds to the score (weight × mean).
| Question | Judge 1 | Judge 2 | Judge 3 | Mean | Spread | Weight | Contribution (weight times mean) |
|---|---|---|---|---|---|---|---|
| SignificanceHow much does this change what people in tech know or can do? | 0.47 | 0.30 | 0.62 | 0.46 | 0.32 | +0.24 | +0.111 |
| Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on? | 0.65 | 0.80 | 0.90 | 0.78 | 0.25 | +0.26 | +0.204 |
| Audience breadthHow many people who build technology does it concern? | 0.56 | 0.50 | 0.48 | 0.51 | 0.08 | +0.13 | +0.067 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.80 | 0.70 | 0.86 | 0.79 | 0.16 | +0.22 | +0.173 |
| SubstantiatedHow well is it backed? Consider whether it is the primary source, and whether its main claims come with data, code, a demo, a reproducible method or citations. | 0.94 | 0.75 | 0.88 | 0.86 | 0.19 | +0.05 | +0.043 |
| Technical depthHow technically substantive is it? | 1.00 | 0.80 | 0.86 | 0.89 | 0.20 | +0.05 | +0.044 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.85 | 0.70 | 0.91 | 0.82 | 0.21 | +0.05 | +0.041 |
| PromotionalIs it mainly marketing with little substance (a press release, ad or sponsored post with no real information)? A launch post that carries real news is not promotional. | 0.05 | 0.20 | 0.12 | 0.12 | 0.15 | −0.19 | −0.023 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.35 | 0.15 | 0.18 | 0.23 | 0.20 | −0.11 | −0.025 |
| Sum of contributions | +0.635 | ||||||
| Claim-check penalty | 0.000 | ||||||
| Total, as published | 0.635 | ||||||
Spread is the highest minus the lowest judge answer. marks a spread above 0.40: the judges disagree, and the story is marked contested.
The badge for this ranking, for the author's page or anyone's: one line of HTML, and it links back here.
<a href="https://rubric.hrih.si/editions/2026-11-26/16/"><img src="https://rubric.hrih.si/badge/2026-11-26/16.svg" alt="Ranked #16 on Rubric, 26 Nov 2026" width="245" height="28"></a>Claim check
Claim check: 1 matches source · 7 no source given. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.
Matches sourceGeneralization
Postgres WAL processing is single threaded, giving it a hard ceiling on how much of a 64-core machine it can use.
The cited source says the same thing.
The article says “Postgres WAL processing is single threaded and therefore has a pretty hard ceiling on how much of a 64-core machine it can use”
The source says “One record at a time, sequentially, in a single process. The startup process (which handles WAL recovery) is the sole consumer of WAL data on a replica. There is no…”
Source cited by the article: pgedge.com/blog/the-scaling-ceiling-when-one-postgres-instance-tries-to-be-everything
No source givenNumber
Over a 3.5-day window, the target query ran 22.97M times, used 280.7h of DB time (33.8% share), and averaged 44.0 ms per call.
The article gives no link or citation for it.
The article says “Our query 22.97M 280.7h 33.8% 44.0 8,359 6.5”
The source says No source to compare with.
No source givenNumber
After the change, the query used 1.6h of DB time (0.3% share), 0.26 ms per call and 71 buffers per call over 22.64M calls.
The article gives no link or citation for it.
The article says “After 22.64M 1.6h 0.3% 0.26 71 6.6”
The source says No source to compare with.
No source givenNumber
The original index used by the query was a GiST exclusion constraint on schedule_id, rotation_id, layer_id and a time range, lacking organisation_id and start_at.
The article gives no link or citation for it.
The article says “the index being used did not include organisation_id and more critically it was missing start_at”
The source says No source to compare with.
No source givenCausal conclusion
Postgres can only use a row comparison as an index condition on a btree index, and GiST does not support row-based comparisons.
The article gives no link or citation for it.
The article says “GiST does not support row-based comparisons. Postgres can only use a row comparison as an index condition on a btree index”
The source says No source to compare with.
No source givenNumber
In local testing with dummy data, adding the new index gave roughly a 100x improvement in query time and buffers hit.
The article gives no link or citation for it.
The article says “Doing that we saw a roughly 100x improvement on both query time and the number of buffers hit”
The source says No source to compare with.
No source givenCausal conclusion
After adding the index alone, the first trace had 16ms latency versus a previous 26ms average, because the planner still used the original index.
The article gives no link or citation for it.
The article says “The first trace that hit that query had a latency of just drum-roll 16ms”
The source says No source to compare with.
No source givenCausal conclusion
Postgres assumes the four id columns are independent, estimating one row returned, which makes it select the existing index.
The article gives no link or citation for it.
The article says “In our instance Postgres assumes layers, rotations, organisations, and schedules are independent”
The source says No source to compare with.
Also covered by
No other coverage was clustered with this story.
Elsewhere
Elsewhere: HN 9 pts, not on front page
Recorded for context only, checked 26 Nov 2026, 05:47 UTC. It played no part in the ranking.