Re: pg_restore causing ENOSPACE on the WAL partition

From: Dimitrios Apostolou <jimis(at)gmx(dot)net>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: pg_restore causing ENOSPACE on the WAL partition
Date: 2025-04-10 12:11:57
Message-ID: 34bc1ed2-4b06-2172-e4f0-2c85bf6208c5@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Forgot an important setting I have during pg_restore:

On Thu, 10 Apr 2025, Dimitrios Apostolou wrote:

> max_wal_size=64GB
> max_replication_slots = 0
> max_logical_replication_workers = 0
> max_wal_senders = 0
> wal_level = minimal
> autovacuum = off

checkpoint_completion_target = 0

so the checkpoint should finish ASAP and any delays are purely because of
I/O limitations. And for the sake of completion:

checkpoint_timeout = 600s

Regards,
Dimitris

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Achilleas Mantzios 2025-04-10 12:17:27 Re: timescaledb vs NULL vs pg_timeseries vs partman + pgcron + pg_ivm
Previous Message Francisco Olarte 2025-04-10 11:36:49 Re: [EXTERNAL] Re: Cannot connect local with ttrust (pg_upgrade assumes it)