From: Michael Artz <mlartz@gmail.com>
To: pgsql-performance@postgresql.org
Subject: Re: Subselect query enhancement
Date: Thu, 1 Feb 2007 13:14:56 -0500
Message-ID: <e9c163070702011014g7c90f0f3v8bff5fcb0de27f7@mail.gmail.com> (raw)
In-Reply-To: <45C22353.4020902@blackducksoftware.com>
References: <e9c163070702010842ja639378v75e8c0eb757d9b72@mail.gmail.com>
<45C22353.4020902@blackducksoftware.com>
> How about this option:
>
> SELECT distinct ip_info.* FROM ip_info RIGHT JOIN network_events USING
> (ip) RIGHT JOIN host_events USING (ip) WHERE
> (network_events.name='blah' OR host_events.name = 'blah') AND
> ip_info.ip IS NOT NULL;
Nah, that seems to be much much worse. The other queries usually
return in 1-2 minutes, this one has been running for 30 minutes and
has still not returned
-Mike
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: mlartz@gmail.com
Subject: Re: Subselect query enhancement
In-Reply-To: <e9c163070702011014g7c90f0f3v8bff5fcb0de27f7@mail.gmail.com>
References: <e9c163070702010842ja639378v75e8c0eb757d9b72@mail.gmail.com> <45C22353.4020902@blackducksoftware.com> <e9c163070702011014g7c90f0f3v8bff5fcb0de27f7@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