From: Tom Lane <tgl@sss.pgh.pa.us>
To: gjerde@icebox.org
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] JOIN index/sequential select problem
Date: Wed, 12 May 1999 20:39:18 -0400
Message-ID: <3174.926555958@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.05.9905121755180.31558-100000@snowman.icebox.org>
gjerde@icebox.org writes:
> Then postgres is not guessing right. Even tho the table only has
> ~200 rows, the query still takes forever to finish. I have let it go for
> a few minutes, and it still wasn't done..
Something wrong there; even with a nested loop, it shouldn't take more
than a few seconds to process that query. Please dig into it a little
more (do you have gprof?) and find where it's spending the time.
regards, tom lane
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: tgl@sss.pgh.pa.us, gjerde@icebox.org
Subject: Re: [SQL] JOIN index/sequential select problem
In-Reply-To: <3174.926555958@sss.pgh.pa.us>
References: <Pine.LNX.4.05.9905121755180.31558-100000@snowman.icebox.org> <3174.926555958@sss.pgh.pa.us>
* 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