Re: How to prohibit parallel scan through tableam?

Поиск
Список
Период
Сортировка
От Rafia Sabih
Тема Re: How to prohibit parallel scan through tableam?
Дата
Msg-id CA+FpmFeV4XH0du_60F5wKnoGku-fM_kACpRdMMTDLkYqePF3WA@mail.gmail.com
обсуждение исходный текст
Ответ на How to prohibit parallel scan through tableam?  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Ответы Re: How to prohibit parallel scan through tableam?  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Список pgsql-hackers


On Wed, 27 Nov 2019 at 12:33, Konstantin Knizhnik <k.knizhnik@postgrespro.ru> wrote:
Hi hackers,

I wonder how it is possible to prohibit parallel scan for the external
storage accessed through tableam?
For example if I want to implement specialized tableam for fast access
to temp tables, how can I inform optimizer that
parallel scan is not possible (because table data is local to the backend)?

 How about setting parallel_setup_cost to disable_cost in costsize.c for your specific scan method.

--
Regards,
Rafia Sabih

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

Предыдущее
От: "LIANGBO"
Дата:
Сообщение: [Incident report]Backend process crashed when executing 2pc transaction
Следующее
От: "Smith, Peter"
Дата:
Сообщение: RE: Proposal: Add more compile-time asserts to exposeinconsistencies.