Hints and hazards: pg_plan_advice in PG19
Comments on “Hints and hazards: pg_plan_advice in PG19”
Claim-checked. Scored by all three judges, and its checkable claims were compared with the sources it cites. How far stories are checked
ClickHouse's write-up tests pg_plan_advice, one of two contrib modules in Postgres 19 for query hints; the other, pg_stash_advice, attaches hints to query IDs. On ClickHouse Managed Postgres, a bitmap scan hint cut one query from about 1,462 ms to under 10 ms, and a join-order hint cut another from about 3,837 ms to 20 ms. After the data changed, the stale hint made the first query roughly 7,000 times slower than the unhinted plan. The tests are artificial, so the author advises periodic re-checks of hints.
Why it ranked
No. 13 of 96 with a score of 0.65. The panel rated it highest on technical depth (0.90) and new information (0.86), lowest on significance (0.53). Placed No. 13, No. 21 by score alone: the placement terms moved other stories past it.
- AI judgeJudge 2claude-haiku-5-5
- Solid hands-on testing of a new Postgres 19 contrib module with reproducible explain plans and clear caveats. Narrow to database engineers, not broad tech; the planner-hint topic is specialized but highly practical for those users.
- AI judgeJudge 3gpt-5.6-luna
- A deeply technical, well-supported PostgreSQL 19 engineering write-up with reproducible SQL, execution plans, benchmarks, and operational caveats. It is highly actionable for database and infrastructure builders, though mainly relevant to the PostgreSQL niche.
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.65total under rubric v2.3
- Significance0.53
- Reader interest0.74
- Audience breadth0.56
- Practical relevance0.74
- Substantiated0.84
- Technical depth0.90
- New information0.86
- Counts against: Promotional0.08
- Counts against: Overclaim0.17
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.53 | 0.45 | 0.62 | 0.53 | 0.17 | +0.24 | +0.128 |
| Reader interestWould a well-informed senior engineer or tech founder want to read this today, and likely pass it on? | 0.64 | 0.70 | 0.88 | 0.74 | 0.24 | +0.26 | +0.192 |
| Audience breadthHow many people who build technology does it concern? | 0.54 | 0.55 | 0.58 | 0.56 | 0.04 | +0.13 | +0.072 |
| Practical relevanceHow useful is it to someone who builds software or tech products? | 0.76 | 0.65 | 0.82 | 0.74 | 0.17 | +0.22 | +0.164 |
| 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.83 | 0.80 | 0.88 | 0.84 | 0.08 | +0.05 | +0.042 |
| Technical depthHow technically substantive is it? | 0.99 | 0.80 | 0.90 | 0.90 | 0.20 | +0.05 | +0.045 |
| New informationDoes it contain information absent from the stories covered in the last 7 days (list provided)? | 0.80 | 0.85 | 0.94 | 0.86 | 0.14 | +0.05 | +0.043 |
| 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.07 | 0.10 | 0.08 | 0.08 | 0.03 | −0.19 | −0.016 |
| OverclaimDo the headline or conclusions claim more than the body supports? | 0.18 | 0.20 | 0.12 | 0.17 | 0.08 | −0.11 | −0.018 |
| Sum of contributions | +0.652 | ||||||
| Claim-check penalty | 0.000 | ||||||
| Total, as published | 0.652 | ||||||
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-27/13/"><img src="https://rubric.hrih.si/badge/2026-11-27/13.svg" alt="Ranked #13 on Rubric, 27 Nov 2026" width="245" height="28"></a>Claim check
Claim check: 2 matches source · 4 no source given · 2 couldn’t check. Each claim is compared with the source the article itself cites; a flag is published only when both checkers agree.
Couldn’t checkVersion
Postgres 19 adds two new contrib modules that together provide plan hints without affecting all queries or SQL syntax.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “Postgres 19 brings 2 new contrib modules that collectively provide the plan hint experience without affecting all queries or SQL syntax”
The source says No passage could be compared.
Source cited by the article: postgresql.org/docs/19/pgplanadvice.html
Matches sourceVersion
pg_plan_advice works at the session level and lets users specify scan method, join order, join method, parallelism, partitionwise joins, and semijoin uniqueness.
The cited source says the same thing.
The article says “letting you specify scan method, join order, join method, parallelism, partitionwise joins, and semijoin uniqueness”
The source says “In the example above, pg_plan_advice emits advice for the join order, the join method, the scan method, and the use of parallelism”
Source cited by the article: postgresql.org/docs/19/pgplanadvice.html
Matches sourceVersion
pg_stash_advice applies hints to query identifiers rather than specific queries, and supports the same plan-affecting capabilities as pg_plan_advice.
The cited source says the same thing.
The article says “This is meant to apply to query identifiers instead of specific queries”
The source says “An advice stash is a mapping from query identifiers to plan advice strings”
Source cited by the article: postgresql.org/docs/19/pgstashadvice.html
No source givenNumber
In the clustered-events test, the default plan took about 1462 ms, while the bitmap heap scan advice brought execution under 10 ms.
The article gives no link or citation for it.
The article says “First, we got <10ms execution time, so the bitmap heap scan actually did help”
The source says No source to compare with.
No source givenNumber
With JOIN_ORDER advice, the join query's execution time dropped from about 3837 ms to about 20 ms, a nearly 200x improvement.
The article gives no link or citation for it.
The article says “A nearly 200x improvement is absurdly better”
The source says No source to compare with.
No source givenNumber
After the data changed so every third row was 'failed', the query with the bitmap heap scan hint was 7,000 times slower than the unhinted plan.
The article gives no link or citation for it.
The article says “That’s 7,000 times worse, and the feedback doesn’t show a problem because it’s still matched”
The source says No source to compare with.
No source givenCausal conclusion
The planner's row estimate error in the join case stems from assuming filters on different tables are independent.
The article gives no link or citation for it.
The article says “In general, it assumes that filters on different tables are independent of each other, which is a fairly easy assumption to violate”
The source says No source to compare with.
Couldn’t checkGeneralization
pg_stash_advice advice is not WAL-logged and so needs special handling for HA failover.
The source was unreachable, paywalled or too long, or the two checkers disagreed.
The article says “note that this needs special handling for HA failover since it is not WAL-logged, and is not well explored”
The source says No passage could be compared.
Source cited by the article: postgresql.org/docs/19/pgstashadvice.html
Also covered by
No other coverage was clustered with this story.
Elsewhere
Elsewhere: HN 1 pts, not on front page
Recorded for context only, checked 27 Nov 2026, 05:46 UTC. It played no part in the ranking.