Re: Minimize checkpointer and walwriter io during pg_restore - Mailing list pgsql-admin

From Ron Johnson
Subject Re: Minimize checkpointer and walwriter io during pg_restore
Date
Msg-id CANzqJaAwe4679m5rs1sSRppb5Fo0ubdbDDeS+vAkPQr97M_L5A@mail.gmail.com
Whole thread Raw
In response to Re: Minimize checkpointer and walwriter io during pg_restore  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Minimize checkpointer and walwriter io during pg_restore
List pgsql-admin
On Thu, Jun 6, 2024 at 4:06 AM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
[snip] 
There are certainly negative effects of a large transaction, but I thought you want
to optimize the performance of a "pg_restore".  If you optimize one thing, you will
certainly pessimize some other things.  In the case at hand, you shouldn't run a
heavy data modifying workload in the same database concurrently to the large pg_restore.
 
pg_restore will be the only thing running.

The mere size of a transaction can be a problem as such in other databases like
Oracle, but not in PostgreSQL.

Understood.  I'll see if I can run another test before the "real" migration starts.

pgsql-admin by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Minimize checkpointer and walwriter io during pg_restore
Next
From: Ron Johnson
Date:
Subject: Re: Minimize checkpointer and walwriter io during pg_restore