From: | Gregory Stark <stark(at)enterprisedb(dot)com> |
---|---|
To: | "kevin kempter" <kevin(at)kevinkempterllc(dot)com> |
Cc: | <pgsql-performance(at)postgresql(dot)org> |
Subject: | Re: Partitioned tables - planner wont use indexes |
Date: | 2008-04-05 01:26:36 |
Message-ID: | 87myo9drcj.fsf@oxford.xeocode.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
"kevin kempter" <kevin(at)kevinkempterllc(dot)com> writes:
> that the planner wants to do a sequential scan on each partition. We do have
> "constraint_elimination = on" set in the postgresql.conf file.
"constraint_exclusion" btw.
> myDB=# explain SELECT min(logdate) FROM part_master;
Er, yeah. Unfortunately this is just not a kind of query our planner knows how
to optimize when dealing with a partitioned table... yet. There are several
different pieces missing to make this work. There's some hope some of them
might show up for 8.4 but no guarantees.
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's Slony Replication support!
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-04-05 04:20:43 | Re: Query plan excluding index on view |
Previous Message | paul rivers | 2008-04-05 01:07:49 | Re: Partitioned tables - planner wont use indexes |