pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jasmin Dizdarevic <jasmin.dizdarevic@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Performance of NOT IN and <> with PG 9.0.4
Date: Wed, 25 May 2011 17:23:12 +0200
Message-ID: <BANLkTikRhu7NYb9FdorgMP9hrXW6p+Z-Lw@mail.gmail.com> (raw)
In-Reply-To: <4884.1306332801@sss.pgh.pa.us>
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>
	<BANLkTin1TRna9JDL9se+j7ROdaATXSqP+A@mail.gmail.com>
	<4884.1306332801@sss.pgh.pa.us>

As I've understood the docs those 2 limits should not take effect, because
the performance is going down when adding two aggregated columns, but only
when enable_material is on.

2011/5/25 Tom Lane <tgl@sss.pgh.pa.us>

> Robert Haas <robertmhaas@gmail.com> writes:
> > 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?
>
> I didn't stop to count, but are there enough that join_collapse_limit
> or from_collapse_limit could be in play?
>
>                        regards, tom lane
>

view thread (10+ messages)  latest in thread

Message-ID: <BANLkTikRhu7NYb9FdorgMP9hrXW6p+Z-Lw@mail.gmail.com>
Permalink:  ../BANLkTikRhu7NYb9FdorgMP9hrXW6p+Z-Lw@mail.gmail.com/
Also on:    postgresql.org/message-id/BANLkTikRhu7NYb9FdorgMP9hrXW6p+Z-Lw@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: jasmin.dizdarevic@gmail.com, tgl@sss.pgh.pa.us, robertmhaas@gmail.com
  Subject: Re: Performance of NOT IN and <> with PG 9.0.4
  In-Reply-To: <BANLkTikRhu7NYb9FdorgMP9hrXW6p+Z-Lw@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