From: | "Jaime Casanova" <jcasanov(at)systemguards(dot)com(dot)ec> |
---|---|
To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "Bruce Momjian" <bruce(at)momjian(dot)us>, "Stephen Frost" <sfrost(at)snowman(dot)net>, "Simon Riggs" <simon(at)2ndquadrant(dot)com>, jd(at)commandprompt(dot)com, "Robert Haas" <robertmhaas(at)gmail(dot)com>, "Greg Smith" <gsmith(at)gregsmith(dot)com>, "Gregory Stark" <stark(at)enterprisedb(dot)com>, "Josh Berkus" <josh(at)agliodbs(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Do we still need constraint_exclusion? |
Date: | 2009-01-08 04:47:30 |
Message-ID: | 3073cc9b0901072047qdab9b61md266057bb14898a@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Jan 7, 2009 at 5:46 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
>>> * Simon Riggs (simon(at)2ndQuadrant(dot)com) wrote:
>>>> I don't really understand this. Who can set up an inherited table
>>>> structure but can't remember to turn on constraint_exclusion?
>
>> This new change also adds the constraint exclusion overhead only for
>> inhertance (by default) so it should slightly improve query peformance.
>
> Right, I think that's the real winning argument for having this: it
> gets the benefit of c_e for partitioned tables without imposing overhead
> for non-partitioned tables. See Josh B's remarks upthread about
> actually going to the trouble of turning c_e off and on on-the-fly to
> try to approximate that result.
>
what i still doesn't understand is why we need a third value at all?
why we simply can't make the new 'partition' behaviour be the default
for c_e on?
--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2009-01-08 04:54:07 | Re: Do we still need constraint_exclusion? |
Previous Message | Lawrence, Ramon | 2009-01-08 03:44:03 | Re: Potential Join Performance Issue |