pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Vacuum & analyze thresholds-- redundant?
2+ messages / 2 participants
[nested] [flat]

* Vacuum & analyze thresholds-- redundant?
@ 2022-01-19 01:42  Wells Oliver <wells.oliver@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Wells Oliver @ 2022-01-19 01:42 UTC (permalink / raw)
  To: pgsql-admin

Does a vacuum prompt an analyze? I have the following settings on a table:

alter table t set (autovacuum_analyze_scale_factor = 0);
alter table t set (autovacuum_analyze_threshold = 10000);

alter table t set (autovacuum_vacuum_scale_factor = 0);
alter table t set (autovacuum_vacuum_threshold = 10000);

Wondering if there is redundancy there.

-- 
Wells Oliver
wells.oliver@gmail.com <wellsoliver@gmail.com>

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Vacuum & analyze thresholds-- redundant?
@ 2022-01-19 01:58  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Wells Oliver <wells.oliver@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2022-01-19 01:58 UTC (permalink / raw)
  To: Wells Oliver <wells.oliver@gmail.com>; +Cc: pgsql-admin

Wells Oliver <wells.oliver@gmail.com> writes:
> Does a vacuum prompt an analyze?

No, they're determined independently.

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2022-01-19 01:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19 01:42 Vacuum & analyze thresholds-- redundant? Wells Oliver <wells.oliver@gmail.com>
2022-01-19 01:58 ` Tom Lane <tgl@sss.pgh.pa.us>

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