Re: Performance of NOT IN and <> with PG 9.0.4

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Jasmin Dizdarevic <jasmin(dot)dizdarevic(at)gmail(dot)com>
Cc: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Performance of NOT IN and <> with PG 9.0.4
Date: 2011-05-24 19:14:23
Message-ID: BANLkTim_EvVzTzzbbOhmDQGPMUoc0fNLFA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tue, May 24, 2011 at 7:45 AM, Jasmin Dizdarevic
<jasmin(dot)dizdarevic(at)gmail(dot)com> wrote:
> Hi,
> found the problem.
> 238 sec. with set enable_material = 'on'
> 4(!) sec. with set enable_material = 'off'
>
> @Robert Haas: I thought it would be interesting to you, because
> you've committed a patch regarding materialization for 9.0. If you like to
> investigate this further, I can provide you more details.

Well, it makes me glad I insisted we add enable_material.

But I can't really tell from this output what is happening. Can we
see the EXPLAIN ANALYZE output on 9.0, with and without
enable_material?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message manuel antonio ochoa 2011-05-24 19:22:52 Problems Pgdump
Previous Message Lew 2011-05-24 16:57:57 Re: extracting location info from string