Re: Add log_autovacuum_{vacuum|analyze}_min_duration - Mailing list pgsql-hackers

From kasaharatt
Subject Re: Add log_autovacuum_{vacuum|analyze}_min_duration
Date
Msg-id 76b9eb1c4ad4297e3ede7d3be8659f5c@oss.nttdata.com
Whole thread Raw
In response to Re: Add log_autovacuum_{vacuum|analyze}_min_duration  (Michael Banck <mbanck@gmx.net>)
Responses Re: Add log_autovacuum_{vacuum|analyze}_min_duration
List pgsql-hackers
Hi,

2025-07-02 15:37 に Shinya Kato wrote:
> On Mon, Jun 23, 2025 at 4:24 PM Shinya Kato <shinya11.kato@gmail.com>
> wrote:
>>
>> 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?
I reviewed this patch.
I also have no particular objections to the Approach 2.

> +    <term><literal>log_autoanalyze_min_duration</literal>,
> <literal>toast.log_autoanalyze_min_duration</literal>(<type>integer</type>)
(snip)
> +       "toast.log_autoanalyze_min_duration",
This patch adds the log_autoanalyze_min_duration parameter fot TOAST
tables.
However since PostgreSQL currently does not support ANALYZE on TOAST
tables,
isn't this parameter unnecessary?

Best regards,
--
Kasahara Tatsuhito
NTT DATA Japan Corporation



pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: GB18030-2022 Support in PostgreSQL
Next
From: Shinya Kato
Date:
Subject: Re: Improve tab completion for various SET/RESET forms