Re: Query plan excluding index on view

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Matt Klinker" <mklinker(at)gmail(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Query plan excluding index on view
Date: 2008-04-03 23:50:21
Message-ID: 28177.1207266621@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Matt Klinker" <mklinker(at)gmail(dot)com> writes:
> I know it's generally requested to include the EXPLAIN text when submitting
> a specific question, but I thought perhaps this was generic enough that
> someone might at least have some suggestions.

You're usually only going to get generic suggestions from a generic
explanation.

One thought here though is that it's only been since PG 8.2 that you had
any hope of getting an indexscan on a join condition pushed down through
a UNION, which it looks like is what you're hoping for. What version
are you running?

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Ow Mun Heng 2008-04-04 03:39:43 Forcing more agressive index scans for BITMAP AND
Previous Message Matt Klinker 2008-04-03 23:31:45 Query plan excluding index on view