Re: Query Performance / Planner estimate off - Mailing list pgsql-performance

From Mats Olsen
Subject Re: Query Performance / Planner estimate off
Date
Msg-id 1a470915-3ddd-ddc8-c1dd-45cf648fe392@duneanalytics.com
Whole thread Raw
In response to Re: Query Performance / Planner estimate off  (Victor Yegorov <vyegorov@gmail.com>)
List pgsql-performance


On 10/20/20 3:22 PM, Victor Yegorov wrote:
вт, 20 окт. 2020 г. в 11:38, Mats Julian Olsen <mats@duneanalytics.com>:
I'm looking for some help to manage queries against two large tables.

Also, can you enable `track_io_timing` (no restart required) and provide output of `EXPLAIN (analyze, buffers, settings)` for all 3 variants, please? 
(I assume you're on 12+.)

Thanks! Yes on 12.2. Here's the output:

vanilla: https://explain.depesz.com/s/Ktrd

set enable_nestloop=off: https://explain.depesz.com/s/mvSD

set enable_nestloop=off; set enable_seqscan=off: https://explain.depesz.com/s/XIDo

Are these helpful?


--
Victor Yegorov

pgsql-performance by date:

Previous
From: Mats Olsen
Date:
Subject: Re: Query Performance / Planner estimate off
Next
From: Mats Olsen
Date:
Subject: Re: Query Performance / Planner estimate off