public inbox for [email protected]
help / color / mirror / Atom feedRe: Why isn't my table auto-analyzed/vacuumed?
2+ messages / 2 participants
[nested] [flat]
* Re: Why isn't my table auto-analyzed/vacuumed?
@ 2025-10-30 18:41 Dimitrios Apostolou <[email protected]>
2025-10-30 18:46 ` Re: Why isn't my table auto-analyzed/vacuumed? Ron Johnson <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Dimitrios Apostolou @ 2025-10-30 18:41 UTC (permalink / raw)
To: Ron Johnson <[email protected]>; +Cc: [email protected]
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
I will adjust the values accordingly and check back. Cheers!
Dimitris
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Why isn't my table auto-analyzed/vacuumed?
2025-10-30 18:41 Re: Why isn't my table auto-analyzed/vacuumed? Dimitrios Apostolou <[email protected]>
@ 2025-10-30 18:46 ` Ron Johnson <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Ron Johnson @ 2025-10-30 18:46 UTC (permalink / raw)
To: pgsql-generallists.postgresql.org <[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!
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2025-10-30 18:46 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2025-10-30 18:41 Re: Why isn't my table auto-analyzed/vacuumed? Dimitrios Apostolou <[email protected]>
2025-10-30 18:46 ` Ron Johnson <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox