Re: [SQL] JOIN index/sequential select problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: gjerde(at)icebox(dot)org
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] JOIN index/sequential select problem
Date: 1999-05-13 00:39:18
Message-ID: 3174.926555958@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

gjerde(at)icebox(dot)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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message gjerde 1999-05-13 04:47:32 Re: [SQL] JOIN index/sequential select problem
Previous Message gjerde 1999-05-12 23:00:24 Re: [SQL] JOIN index/sequential select problem