Re: Faster pg_resore with autovacuum off? - Mailing list pgsql-admin

From Scott Ribe
Subject Re: Faster pg_resore with autovacuum off?
Date
Msg-id 7BF8F034-1633-4FA5-90ED-6DF8F1F53D3C@elevated-dev.com
Whole thread Raw
In response to Re: Faster pg_resore with autovacuum off?  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Faster pg_resore with autovacuum off?
List pgsql-admin
> On Jul 28, 2024, at 6:40 AM, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
>
> That's bad advice.  Very bad advice.
> That is, unless you are ready to delete the cluster and run a new "initdb" after an OS crash.

Exactly.

> You are wrong: it is not the database that is broken after a crash, but the entire cluster.

Good clarification. I personally have never had occasion to move a partial cluster, so my use of "database" in my
questionwas sloppy, I meant "cluster". So yes, I'd delete the cluster and initdb if I ever actually had an OS crash
duringa pg_restore--which in 20 years of using PG has never happened. I suppose it might matter more if one were forced
torun one's db on an unstable platform ;-) 


pgsql-admin by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Faster pg_resore with autovacuum off?
Next
From: Holger Jakobs
Date:
Subject: Re: Stream pg_dumpall directly from CentOS7 to Red Hat server