On Sun, 26 Jul 2020 at 02:17, Tom Lane <tgl@xxxxxxxxxxxxx> wrote: > > David Rowley <dgrowleyml@xxxxxxxxx> writes: > > On Sat, 25 Jul 2020 at 10:42, David Rowley <dgrowleyml@xxxxxxxxx> wrote: > >> I think plan cost overestimation is a common cause of unwanted jit too. > >> It would be good to see the EXPLAIN ANALYZE so we knew if that was the > >> case here. > > > So Scott did send me the full EXPLAIN ANALYZE for this privately. He > > wishes to keep the full output private. > > So ... what was the *top* line, ie total cost estimate? Hash Right Join (cost=1200566.17..1461446.31 rows=1651 width=141) (actual time=5881.944..5881.944 rows=0 loops=1) So well above the standard jit inline and optimize cost David