Re: Poor performance problem with Materialize, 8.4 -> 9.1 (enable_material) - Mailing list pgsql-performance

From Claudio Freire
Subject Re: Poor performance problem with Materialize, 8.4 -> 9.1 (enable_material)
Date
Msg-id CAGTBQpbeJo1+UwT_fNA1KJ1sTxeJfLZOzP0gti2MNw-aAysBsQ@mail.gmail.com
Whole thread Raw
In response to Poor performance problem with Materialize, 8.4 -> 9.1 (enable_material)  (Eoghan Murray <eoghan@qatano.com>)
List pgsql-performance
On Fri, Jul 13, 2012 at 3:22 PM, Eoghan Murray <eoghan@qatano.com> wrote:
> This is with `enable_material=off`, with `enable_material=on` it also
> doesn't go for the Merge Join, but the Materialize step pushes it up to over
> 7,000ms.

I think this one could stem from what Tom observed, that the rowcount
estimate is way off.

It usually helps a great deal if you can get PG to estimate correctly,
be it by doing analyze, incrementing statistics or simply formulating
your query in a way that's friendlier for PG's estimator.

pgsql-performance by date:

Previous
From: Sergey Konoplev
Date:
Subject: Re: Any tool/script available which can be used to measure scalability of an application's database.
Next
From: Robert Klemme
Date:
Subject: Re: Any tool/script available which can be used to measure scalability of an application's database.