Re: Faster pg_resore with autovacuum off?

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Faster pg_resore with autovacuum off?
Date: 2024-07-29 05:12:59
Message-ID: 266b4d9fc888a5e56b373f31d35558ecc972c56c.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sun, 2024-07-28 at 16:55 -0400, Ron Johnson wrote:
> It's obvious why unanalyzed tables could cause materialization to be slow,
> but why would unvacuumed tables cause slowness when creating materialized views?

Because of missing hint bits and visibility map?
But you are right, ANALYZE is more important for query performance.

However, if you disable autovacuum, you also disable autoanalyze...

Yours,
Laurenz Albe

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Wasim Devale 2024-07-29 18:00:46 Re: Stream pg_dumpall directly from CentOS7 to Red Hat server
Previous Message Ron Johnson 2024-07-29 03:34:04 Re: Stream pg_dumpall directly from CentOS7 to Red Hat server