From: Dimitri Fontaine <dim@dalibo.com>
To: pgsql-performance@postgresql.org
Cc: Ioana Danes <ioanasoftware@yahoo.ca>
Subject: Re: Postgresql 8.1.4 - performance issues for select on view using max
Date: Wed, 18 Oct 2006 23:19:39 +0200
Message-ID: <200610182319.41920.dim@dalibo.com> (raw)
In-Reply-To: <20061018210201.56435.qmail@web55907.mail.re3.yahoo.com>
References: <20061018210201.56435.qmail@web55907.mail.re3.yahoo.com>
Le mercredi 18 octobre 2006 23:02, Ioana Danes a écrit :
> I tried the partitioning scenario but I've got into
> the same problem. The max function is not using the
> indexes on the two partitioned tables...
>
> Any other thoughts?
Did you make sure your test included table inheritance?
I'm not sure the planner benefits from constraint_exclusion without selecting
the empty parent table (instead of your own union based view).
--
Dimitri Fontaine
http://www.dalibo.com/
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: dim@dalibo.com, ioanasoftware@yahoo.ca
Subject: Re: Postgresql 8.1.4 - performance issues for select on view using max
In-Reply-To: <200610182319.41920.dim@dalibo.com>
* 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