Re: Inheritance, unique keys and performance

From: "Julian Scarfe" <julian(at)avbrief(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Inheritance, unique keys and performance
Date: 2008-01-13 19:28:18
Message-ID: 01fb01c8561a$76d6b4a0$0600a8c0@Wilbur
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2008-01-13 20:47:50 Re: Inheritance, unique keys and performance
Previous Message Tom Lane 2008-01-13 18:46:43 Re: Inheritance, unique keys and performance