Re: CLUSTER, reform_and_rewrite_tuple(), and parallelism

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: CLUSTER, reform_and_rewrite_tuple(), and parallelism
Дата
Msg-id CAA4eK1LdP83O1HrpJQ0eUcX=deHkBn3EmkHKbKATXo52foO45w@mail.gmail.com
обсуждение исходный текст
Ответ на CLUSTER, reform_and_rewrite_tuple(), and parallelism  (Peter Geoghegan <pg@heroku.com>)
Список pgsql-hackers
On Thu, Aug 18, 2016 at 4:42 AM, Peter Geoghegan <pg@heroku.com> wrote:
>
> Does anyone have any ideas on how to:
>
> 1). Directly address the reform_and_rewrite_tuple() bottleneck.
>
> and/or:
>
> 2). Push down some or all of the reform_and_rewrite_tuple() work till
> before tuples are passed to the tuplesort.
>
> "2" would probably make it straightforward to have
> reform_and_rewrite_tuple() work occur in parallel workers instead,
> which buys us a lot.
>

I am not aware what exactly you have in mind to parallelize Cluster
command, but anything that is CPU intensive is probably a good bet to
push down to workers (provided it is safe).

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: replication slots replicated to standbys?
Следующее
От: Claudio Freire
Дата:
Сообщение: Re: [WIP] [B-Tree] Keep indexes sorted by heap physical location