Re: Slow queries salad ;)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: PFC <lists(at)peufeu(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Slow queries salad ;)
Date: 2006-04-25 18:20:29
Message-ID: 22918.1145989229@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

PFC <lists(at)peufeu(dot)com> writes:
> The IN() is quite small (150 values), but the two large tables are
> seq-scanned... is there a way to avoid this ?

Not in 8.1. HEAD is a bit smarter about joins to Append relations.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Jim C. Nasby 2006-04-25 18:24:45 Re: planner not using index for like operator
Previous Message Bill Moran 2006-04-25 18:14:35 Large (8M) cache vs. dual-core CPUs