> On 27 Nov 2026, at 10:59, Heikki Linnakangas <[email protected]> wrote:
> It seems bonkers to optimize for the case that the stats are bad like that, > reltuples=1 and relpages=1 is a completely unrealistic case. That wasn't the proposal though was it? Or did I misunderstand the below: > ..david2.sql is faster under normal circumstances, but david1.sql is not > far behind. When I manually adjust reltuples and relpages to 1, david1.sql > performs much better than everything else. The proposal was to use the query in david2.sql. -- Daniel Gustafsson
