Re: Regarding performance regression on specific query - Mailing list pgsql-hackers

From Amit Langote
Subject Re: Regarding performance regression on specific query
Date
Msg-id 9363a699-dc40-bc96-a8ba-7dd0a6e3a2aa@lab.ntt.co.jp
Whole thread Raw
In response to Regarding performance regression on specific query  ("Jung, Jinho" <jinho.jung@gatech.edu>)
Responses Re: Regarding performance regression on specific query
Re: Regarding performance regression on specific query
List pgsql-hackers
Hi,

On 2018/11/20 2:49, Jung, Jinho wrote:
> Execution time
> =============
> 1.sql
> 10.6  : 469 ms
> 9.4.20: 10 ms
> 
> 4.sql
> 10.6  : 34019 ms
> 9.4.20: 0.4 ms

I noticed that these two are fixed by running ANALYZE in the database in
which these queries are run.

> 20.sql
> 10.6  : 2791 ms
> 9.4.20: 61 ms

This one may be suffering from a more serious planning issue, as doing
ANALYZE didn't help for this one.  Will have to look closely at how the
plan is changing for worse.

Thanks,
Amit



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: typo fix
Next
From: Michael Paquier
Date:
Subject: Re: ToDo: show size of partitioned table