« * K @boringsql.com

Radim @ boringSQL @boringsql.com

2026-02-27 19:03 UTC

Or what about cases where there are no statistics at all? Like materialized CTEs, temporary tables, or computed expressions in WHERE clauses. The planner falls back to hardcoded constants. 0.5% selectivity for equality. 33% for ranges. Good luck.

A reply in a thread.

1 likes, 0 reposts, 1 replies

4 More from @boringsql.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup