public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: Why isn't my table auto-analyzed/vacuumed?
Date: Thu, 30 Oct 2025 14:46:17 -0400
Message-ID: <CANzqJaD2uCty477Vgna4Q13Ltu-yAhtEOMuUU2hDuZYS+BaHHg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<CANzqJaDHcDE5j4bo+D7bH7A_GqtimbThRs5h+fnT+m829ZSsPQ@mail.gmail.com>
	<[email protected]>

On Thu, Oct 30, 2025 at 2:41 PM Dimitrios Apostolou <[email protected]> wrote:

> On Thursday 2025-10-30 18:00, Ron Johnson wrote:
>
> >On Thu, Oct 30, 2025 at 11:55 AM Dimitrios Apostolou <[email protected]>
> wrote:
>
> >      > SELECT name,setting FROM pg_settings WHERE name ILIKE '%factor%' ;
> >                        name                  | setting
> >      ---------------------------------------+---------
> >        autovacuum_analyze_scale_factor       | 0.1
> >
> >
> >0.1 means 10%.
>
> Thank you Ron! I was quite sure 0.1 meant 1/1000 because of this:
>
> SELECT min_val,max_val FROM pg_settings WHERE name =
> 'autovacuum_analyze_scale_factor' \gx
>
> -[ RECORD 1 ]
> min_val | 0
> max_val | 100
>

https://www.postgresql.org/docs/17/runtime-config-autovacuum.html#GUC-AUTOVACUUM-ANALYZE-SCALE-FACTO...
"Specifies a fraction of the table size to add to
autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE.
The default is 0.1 (10% of table size)."

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Why isn't my table auto-analyzed/vacuumed?
  In-Reply-To: <CANzqJaD2uCty477Vgna4Q13Ltu-yAhtEOMuUU2hDuZYS+BaHHg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox