Re: Partitioned tables - planner wont use indexes

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Partitioned tables - planner wont use indexes
Дата
Msg-id 87myo9drcj.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Partitioned tables - planner wont use indexes  (kevin kempter <kevin@kevinkempterllc.com>)
Список pgsql-performance
"kevin kempter" <kevin@kevinkempterllc.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!

В списке pgsql-performance по дате отправления: