Re: Re: reloption to prevent VACUUM from truncating empty pages at the end of relation

From: David Steele <david(at)pgmasters(dot)net>
To: "Tsunakawa, Takayuki" <tsunakawa(dot)takay(at)jp(dot)fujitsu(dot)com>
Cc: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, "Bossart, Nathan" <bossartn(at)amazon(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Julien Rouhaud <rjuju123(at)gmail(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "Jamison, Kirk" <k(dot)jamison(at)jp(dot)fujitsu(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: reloption to prevent VACUUM from truncating empty pages at the end of relation
Date: 2019-03-25 08:44:23
Message-ID: 5529f6b0-300f-dc9b-dd36-9f824c652be3@pgmasters.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 3/5/19 6:41 AM, Masahiko Sawada wrote:
>
> I understood the use case. I'm inclined to add DISABLE_INDEX_CLEANUP
> as a reloption.
>
> It's an improvement but it seems to me that the specifying a threshold
> or scale factor would be more useful for that case than just turning
> on and off. It's something like autovaucum_index_vacuum_scale_factor,
> 0 by default means always trigger index vacuuming and -1 means never
> trigger.

This patch appears to have been stalled for a while.

Takayuki -- the ball appears to be in your court. Perhaps it would be
helpful to summarize what you think are next steps?

Regards,
--
-David
david(at)pgmasters(dot)net

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2019-03-25 08:50:13 Re: Re: Conflict handling for COPY FROM
Previous Message David Steele 2019-03-25 08:39:01 Re: Re: [PATCH][PROPOSAL] Add enum releation option type