Re: WAL restore is very slow - Mailing list pgsql-admin

From Jeff Janes
Subject Re: WAL restore is very slow
Date
Msg-id CAMkU=1ze_yqq_PtKBzNWgmY_1yz06Oeev0w=DJ6burB7S-8ZzA@mail.gmail.com
Whole thread Raw
In response to WAL restore is very slow  (Madhu Sudan <madhusudan0429@gmail.com>)
List pgsql-admin
On Mon, Aug 29, 2022 at 6:10 AM Madhu Sudan <madhusudan0429@gmail.com> wrote:
Hi

We have PG-14 with a huge data set of 14 TB running on r5b.2xlarge. We have set up WAL archiving and restoring them onto a replica server. The WAL restore on the replica is very slow and we are not able to achieve the 4 hour delayed replica. It is always behind 30 hrs with the huge WAL generation.

I have checked the following and they look fine
1. Bottlenecks on the replica server

How did you check for bottlenecks, and what did you see to conclude it looked fine?  Clearly there is a bottleneck somewhere.

Cheers,

Jeff

pgsql-admin by date:

Previous
From: John Scalia
Date:
Subject: Re: WAL restore is very slow
Next
From: "James Pang (chaolpan)"
Date:
Subject: RE: max_wal_size and wal_keep_size