pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matt Klinker <mklinker@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Query plan excluding index on view
Date: Thu, 03 Apr 2008 19:50:21 -0400
Message-ID: <28177.1207266621@sss.pgh.pa.us> (raw)
In-Reply-To: <3bda20f60804031631j177b42e2u82b5033fd23c2293@mail.gmail.com>
References: <3bda20f60804031631j177b42e2u82b5033fd23c2293@mail.gmail.com>

"Matt Klinker" <mklinker@gmail.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



view thread (7+ messages)  latest in thread

Message-ID: <28177.1207266621@sss.pgh.pa.us>
Permalink:  ../28177.1207266621@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28177.1207266621@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mklinker@gmail.com
  Subject: Re: Query plan excluding index on view
  In-Reply-To: <28177.1207266621@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