Re: Block level parallel vacuum WIP

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: David Steele <david(at)pgmasters(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, Claudio Freire <klaussfreire(at)gmail(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Block level parallel vacuum WIP
Date: 2017-10-17 04:41:06
Message-ID: CAD21AoC88Y-KR-B=H98dM10_CE5a1Qzmtzgs0wtP5U6bECrjZA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Oct 5, 2017 at 10:50 AM, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
> On Tue, Sep 19, 2017 at 4:31 PM, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
>> On Tue, Sep 19, 2017 at 3:33 PM, Thomas Munro
>> <thomas(dot)munro(at)enterprisedb(dot)com> wrote:
>>> On Fri, Sep 8, 2017 at 10:37 PM, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
>>>> Since v4 patch conflicts with current HEAD I attached the latest version patch.
>>>
>>> Hi Sawada-san,
>>>
>>> Here is an interesting failure with this patch:
>>>
>>> test rowsecurity ... FAILED
>>> test rules ... FAILED
>>>
>>> Down at the bottom of the build log in the regression diffs file you can see:
>>>
>>> ! ERROR: cache lookup failed for relation 32893
>>>
>>> https://travis-ci.org/postgresql-cfbot/postgresql/builds/277165907
>>>
>>
>> Thank you for letting me know.
>>
>> Hmm, it's an interesting failure. I'll investigate it and post the new patch.
>>
>
> Since the patch conflicts with current HEAD, I've rebased the patch
> and fixed a bug. Please review it.
>

Attached latest version patch. I updated the followings since the
previous version.
* Support vacuum progress reporting.
* Enable to set the parallel vacuum degree per table for autovacuum (0
by default)
* Fix bugs

I've done implementation of all parts that I attempted to support, so
this patch now is no longer WIP patch. Please review it.

Regards,

--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

Attachment Content-Type Size
parallel_vacuum_v6.patch application/octet-stream 106.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Rafia Sabih 2017-10-17 05:01:32 Re: [POC] Faster processing at Gather node
Previous Message Pavel Stehule 2017-10-17 04:06:40 Re: possible encoding issues with libxml2 functions