Re: Join optimization for inheritance tables

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Join optimization for inheritance tables
Дата
Msg-id 1253981953.4449.918.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: Join optimization for inheritance tables  (Emmanuel Cecchet <manu@asterdata.com>)
Ответы Re: Join optimization for inheritance tables  (Emmanuel Cecchet <manu@asterdata.com>)
Список pgsql-hackers
On Tue, 2009-09-22 at 18:16 -0400, Emmanuel Cecchet wrote:

> If the partitioning implementation does not make progress (and does not 
> make it for 8.5)

Manu, not sure if you are referring to Kedar's patch I reviewed earlier
in July, but that patch didn't implement anything like the right
internals for this to work. 

As Tom says, what we need is a single internal data structure that
describes all the partitions. That can then be used to automatically
route inserts, perform the push down merge joins and speed-up constraint
exclusion. We should build this once and store it in the relcache for
the parent relation and so would need some changes in relcache
invalidation as well to make sure child ddl changes invalidate that.

-- Simon Riggs           www.2ndQuadrant.com



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: TODO item: Allow more complex user/database default GUC settings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Join optimization for inheritance tables