Re: Query Planner not taking advantage of HASH PARTITION

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query Planner not taking advantage of HASH PARTITION
Дата
Msg-id 2143749.1650219624@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Query Planner not taking advantage of HASH PARTITION  (Benjamin Tingle <ben@tingle.org>)
Список pgsql-performance
Benjamin Tingle <ben@tingle.org> writes:
> Interesting. Why is it impossible to prune hash partitions? Maybe prune
> isn’t the best word, more so use to advantage. At the very least, it should
> be possible to utilize a parallel insert against a table partitioned by
> hash. (Partition query rows, then distribute these rows to parallel workers)

Your plan-shape complaint had nothing to do with insertions; it had
to do with joining the partitioned table to another table.  That
join can't be optimized.

            regards, tom lane



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

Предыдущее
От: Benjamin Tingle
Дата:
Сообщение: Re: Query Planner not taking advantage of HASH PARTITION
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Query Planner not taking advantage of HASH PARTITION