Re: Backup failure Postgres

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Backup failure Postgres
Дата
Msg-id 202405231231.53fwifecg76g@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Backup failure Postgres  (Jethish Jethish <jethish777@gmail.com>)
Список pgsql-general
On 2024-May-23, Jethish Jethish wrote:

> I have tried by increasing the max_standby_streaming_delay but I'm facing
> lag issues on the replica server.
> 
> When i increase the max_standby_streaming_delay even if a query runs for 2
> minutes I'm facing lag issues for 2 minutes.

You could use a separate replica for backups, with a larger max delay.

> Data size is 3TB

I think pg_dump is not an appropriate tool for backups on an instance
this size.  Have you considered using pgbarman or such, instead?

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/



В списке pgsql-general по дате отправления:

Предыдущее
От: Torsten Förtsch
Дата:
Сообщение: Re: Backup failure Postgres
Следующее
От: sud
Дата:
Сообщение: Re: Long running query causing XID limit breach