pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <robertmhaas@gmail.com>
To: Jasmin Dizdarevic <jasmin.dizdarevic@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Performance of NOT IN and <> with PG 9.0.4
Date: Tue, 24 May 2011 15:49:06 -0400
Message-ID: <BANLkTin1TRna9JDL9se+j7ROdaATXSqP+A@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=X8CBCF_mx4SEp1Wh3b2Gn6vS_mg@mail.gmail.com>
References: <BANLkTimo9PG9r+pP-wxT=Amk79G_UmtCwg@mail.gmail.com>
	<4DD10533.7050904@postnewspapers.com.au>
	<BANLkTi=GmO5NaTGb80e7LpX8mRcvPyKucg@mail.gmail.com>
	<BANLkTinp_jkY5mpruP8JkTekpDKMkjovyQ@mail.gmail.com>
	<BANLkTim_EvVzTzzbbOhmDQGPMUoc0fNLFA@mail.gmail.com>
	<BANLkTi=X8CBCF_mx4SEp1Wh3b2Gn6vS_mg@mail.gmail.com>

On Tue, May 24, 2011 at 3:32 PM, Jasmin Dizdarevic
<jasmin.dizdarevic@gmail.com> wrote:
> enable_material = off

Is there any chance you can reproduce this with a simpler test case
that doesn't involve quite so many joins?

It looks to me like shutting off enable_material is saving you mostly
by accident here.  There's only one materialize node in the whole
plan.

And just incidentally, do you have any of the other enable_* settings
turned off?

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



view thread (10+ messages)  latest in thread

Message-ID: <BANLkTin1TRna9JDL9se+j7ROdaATXSqP+A@mail.gmail.com>
Permalink:  ../BANLkTin1TRna9JDL9se+j7ROdaATXSqP+A@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTin1TRna9JDL9se+j7ROdaATXSqP+A@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: robertmhaas@gmail.com, jasmin.dizdarevic@gmail.com
  Subject: Re: Performance of NOT IN and <> with PG 9.0.4
  In-Reply-To: <BANLkTin1TRna9JDL9se+j7ROdaATXSqP+A@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox