Re: WAL restore is very slow

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Madhu Sudan <madhusudan0429(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: WAL restore is very slow
Date: 2022-08-29 20:38:08
Message-ID: CAMkU=1ze_yqq_PtKBzNWgmY_1yz06Oeev0w=DJ6burB7S-8ZzA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Mon, Aug 29, 2022 at 6:10 AM Madhu Sudan <madhusudan0429(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message James Pang (chaolpan) 2022-08-30 08:29:17 RE: max_wal_size and wal_keep_size
Previous Message John Scalia 2022-08-29 10:28:55 Re: WAL restore is very slow