From: Oskar Liljeblad <osk@hem.passagen.se>
To: pgsql-sql@postgresql.org
Subject: Re: [SQL] query with subquery abnormally slow?
Date: Mon, 1 Nov 1999 20:05:28 +0100
Message-ID: <19991101200528.A7338@oskar> (raw)
In-Reply-To: <19991101194707.A7034@oskar>
References: <19991101194707.A7034@oskar>
On Mon, Nov 01, 1999 at 07:47:07PM +0100, Oskar Liljeblad wrote:
> I'm doing a SELECT query with a subquery on a table with 12K rows
> but it is very slow (10 seconds+). The query looks like this:
Ok, I should have read the latest FAQ and checked the mail
archive before posting this.
I've read about the EXISTS-workaround, but it seems it can't be
applied to my query because it deals with one table only.
Or can it?
Oskar Liljeblad (osk@hem.passagen.se)
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-sql@postgresql.org
Cc: osk@hem.passagen.se
Subject: Re: [SQL] query with subquery abnormally slow?
In-Reply-To: <19991101200528.A7338@oskar>
References: <19991101194707.A7034@oskar> <19991101200528.A7338@oskar>
* 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