From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: T.H. <calinet6@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: Question about subselect/IN performance
Date: Tue, 30 Nov 2010 16:54:55 -0600
Message-ID: <4CF52C5F0200002500037FBA@gw.wicourts.gov> (raw)
In-Reply-To: <id3d3s$c8s$1@news.hub.org>
References: <id3d3s$c8s$1@news.hub.org>
"T.H." <calinet6@gmail.com> wrote:
> Also, are there any better ways you can think of doing such an IN
> query, using non-subselect means that might be more efficient?
Have you tried the EXISTS predicate?
-Kevin
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: Kevin.Grittner@wicourts.gov, calinet6@gmail.com
Subject: Re: Question about subselect/IN performance
In-Reply-To: <4CF52C5F0200002500037FBA@gw.wicourts.gov>
* 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