Re: Faster pg_resore with autovacuum off?

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: Wells Oliver <wells(dot)oliver(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Faster pg_resore with autovacuum off?
Date: 2024-07-27 02:18:06
Message-ID: CANzqJaDeGexERYQSwYdQMaBQ9jzenH7jeJC_7Td2DcXaP8smWA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

I found this link last year when Googling how to speed up pg_restore:
https://www.databasesoup.com/2014/09/settings-for-fast-pgrestore.html

On Fri, Jul 26, 2024 at 8:58 PM Wells Oliver <wells(dot)oliver(at)gmail(dot)com> wrote:

> Maybe it's an old wives' tale, but I swear I've read a recommendation to
> turn autovacuum off when doing pg_restore into a new server.. Would it make
> the restore faster? I think I've restored and then run vacuumdb + analyze,
> but I wanted to check.
>
> --
> Wells Oliver
> wells(dot)oliver(at)gmail(dot)com <wellsoliver(at)gmail(dot)com>
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message akshay polji 2024-07-27 02:37:17 Re: DR setup in RHOS
Previous Message Wells Oliver 2024-07-27 00:57:51 Faster pg_resore with autovacuum off?