Re: On Scalability

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: Vincenzo Romano <vincenzo(dot)romano(at)notorand(dot)it>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: On Scalability
Date: 2010-10-07 07:51:09
Message-ID: 4CAD7BED.4050009@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

On 07.10.2010 10:41, Simon Riggs wrote:
> On Thu, 2010-10-07 at 10:28 +0300, Heikki Linnakangas wrote:
>
>> constraint exclusion of CHECK constraints on the partitions is
>> exponential
>
> Constraint exclusion is linear with respect to number of partitions.
> Why do you say exponential?

For some reason I thought the planner needs to check the constraints of
the partitions against each other, but you're right, clearly that's not
the case. Linear it is.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2010-10-07 09:23:10 Re: queriing the version of libpq
Previous Message Peter Eisentraut 2010-10-07 07:48:14 Re: host name support in pg_hba.conf

Browse pgsql-performance by date

  From Date Subject
Next Message Srikanth K 2010-10-07 09:37:37 Re: Optimizing query
Previous Message Simon Riggs 2010-10-07 07:41:30 Re: On Scalability