pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: scott.marlowe <scott.marlowe@ihs.com>
To: Marcus Andree S. Magalhaes <marcus.magalhaes@vlinfo.com.br>
Cc: pgsql-performance@postgresql.org
Subject: Re: optimizing large query with IN (...)
Date: Fri, 12 Mar 2004 09:39:18 -0800
Message-ID: <200403120939.18797.josh@agliodbs.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0403100944240.10418-100000@css120.ihs.com>
References: <Pine.LNX.4.33.0403100944240.10418-100000@css120.ihs.com>

Marcus,

> The problem, as I understand it, is that 7.4 introduced massive
> improvements in handling moderately large in() clauses, as long as they
> can fit in sort_mem, and are provided by a subselect.

Also, this problem may be fixed in 7.5, when it comes out.  It's a known 
issue.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (10+ messages)

Message-ID: <200403120939.18797.josh@agliodbs.com>
Permalink:  ../200403120939.18797.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200403120939.18797.josh@agliodbs.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-performance@postgresql.org
  Cc: josh@agliodbs.com, scott.marlowe@ihs.com, marcus.magalhaes@vlinfo.com.br
  Subject: Re: optimizing large query with IN (...)
  In-Reply-To: <200403120939.18797.josh@agliodbs.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