pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julian Scarfe <julian@avbrief.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: Inheritance, unique keys and performance
Date: Sun, 13 Jan 2008 19:28:18 -0000
Message-ID: <01fb01c8561a$76d6b4a0$0600a8c0@Wilbur> (raw)
References: <01a301c85552$24ab6270$0600a8c0@Wilbur>
	<21684.1200170118@sss.pgh.pa.us>
	<01b601c855c4$8ed20a60$0600a8c0@Wilbur>
	<7212.1200250003@sss.pgh.pa.us>

From: "Tom Lane" <tgl@sss.pgh.pa.us>
>  The
> problem you've got is that you need a nestloop-with-inner-indexscan
> plan type, where the inner side is an Append group (that is, an
> inheritance tree) --- and 8.1 doesn't know how to create such a plan.
> If you can update to 8.2 or later it should get better.

Isn't test 3 (scalar subqueries) also a nestloop-with-inner-indexscan with 
an inner Append?

Julian 




view thread (6+ messages)  latest in thread

Message-ID: <01fb01c8561a$76d6b4a0$0600a8c0@Wilbur>
Permalink:  ../01fb01c8561a$76d6b4a0$0600a8c0@Wilbur/
Also on:    postgresql.org/message-id/01fb01c8561a$76d6b4a0$0600a8c0@Wilbur

 · 

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: julian@avbrief.com, tgl@sss.pgh.pa.us
  Subject: Re: Inheritance, unique keys and performance
  In-Reply-To: <01fb01c8561a$76d6b4a0$0600a8c0@Wilbur>

* 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