Re: Block level parallel vacuum

Amit Kapila <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.general
Message-ID <CAA4eK1LgQkB=3vu7c6mbBP15L3L4hhN7Atc_4qgJ88a6riMq+Q@mail.gmail.com>
On Fri, Jan 3, 2020 at 10:15 PM Robert Haas <[email protected]> wrote:
>
> On Sun, Dec 29, 2019 at 4:23 PM Tomas Vondra
> <[email protected]> wrote:
> > IMO there's not much reason for the leader not to participate. For
> > regular queries the leader may be doing useful stuff (essentially
> > running the non-parallel part of the query) but AFAIK for VAUCUM that's
> > not the case and the worker is not doing anything.
>
> I agree, and said the same thing in
> http://postgr.es/m/CA+Tgmob7JLrngeHz6i60_TqdvE1YBcvGYVoEQ6_xvP=vN7DwGg@mail.gmail.com
>
> I really don't know why we have that code.
>

We have removed that code from the main patch.  It is in a separate
patch and used mainly for development testing where we want to
debug/test the worker code.

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.