Re: How to prohibit parallel scan through tableam?

From: Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com>
To: Konstantin Knizhnik <k(dot)knizhnik(at)postgrespro(dot)ru>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: How to prohibit parallel scan through tableam?
Date: 2019-11-27 12:12:35
Message-ID: CA+FpmFeV4XH0du_60F5wKnoGku-fM_kACpRdMMTDLkYqePF3WA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 27 Nov 2019 at 12:33, Konstantin Knizhnik <k(dot)knizhnik(at)postgrespro(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Smith, Peter 2019-11-27 12:23:33 RE: Proposal: Add more compile-time asserts to expose inconsistencies.
Previous Message LIANGBO 2019-11-27 11:52:48 [Incident report]Backend process crashed when executing 2pc transaction