Re: Add log_autovacuum_{vacuum|analyze}_min_duration

Shinya Kato <shinya11.kato@gmail.com>

From: Shinya Kato <shinya11.kato@gmail.com>
To: Sami Imseih <samimseih@gmail.com>
Cc: wenhui qiu <qiuwenhuifx@gmail.com>, Fujii Masao <masao.fujii@oss.nttdata.com>, Nathan Bossart <nathandbossart@gmail.com>, Michael Banck <mbanck@gmx.net>, pgsql-hackers@postgresql.org
Date: 2025-06-23T07:24:53Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add log_autoanalyze_min_duration

  2. Generate GUC tables from .dat file

Attachments

On Wed, Jun 11, 2025 at 1:49 PM Shinya Kato <shinya11.kato@gmail.com> wrote:

> On Thu, Jun 5, 2025 at 3:53 AM Sami Imseih <samimseih@gmail.com> wrote:
>
>> > Approach 2:
>> > - log_autovacuum_min_duration: Changed behavior, which controls only
>> > autovacuum logging.
>> > - log_autoanalyze_min_duration: New parameter, which controls
>> > autoanalyze logging.
>>
>> My vote is for this approach. It is probably OK to change the behavior of
>> log_autovacuum_min_duration, as the new GUC will have the same default
>> value.
>>
>
> Thank you for voting. I also think this approach is reasonable to
> implement.
>

A new patch is attached.
Thoughts?

-- 
Best regards,
Shinya Kato
NTT OSS Center