PostgreSQL 9.2 high replication lag

Поиск
Список
Период
Сортировка
От Lucas
Тема PostgreSQL 9.2 high replication lag
Дата
Msg-id Z14WgPUs_T-sranXV8i1KakN-eGRgP7fFcKUR8wHJDmjR-V8tHXkIIVWPxEEUd69GBeQCCKD0BeFn4f9AKItYa22mk_DzQP0yKuhRoyXZCc=@sud0.nz
обсуждение исходный текст
Ответы Re: PostgreSQL 9.2 high replication lag  (Lucas <root@sud0.nz>)
Re: PostgreSQL 9.2 high replication lag  (Ben Madin <ben@ausvet.com.au>)
Список pgsql-general
Hello all,

I have a cluster of PostgreSQL 9.2 servers (yes, I know... we're working on a migration to PG 13) that has one master and one slave.
image.png

I know that the streaming replication is expected to have delays, but this is getting worse and worse everyday. You can see the replication gap is reaching >10 minutes quite often.

The servers are hosted in AWS as EC2 instances and they're both in different AZs. I also know that the streaming replication was first introduced in PG 9.0, so we're using a very old version of it.. I'm sure it has improved over the years...
What can I look for to make this lag not so high? Is there anything I could change in my postgresql.conf files? Any tips?

Thanks!

---
Regards,

Lucas

This message is encrypted. Both the Public Key and the GPG encrypted message are included in this email so that you can verify its origin.


Вложения

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

Предыдущее
От: Glauco Torres
Дата:
Сообщение: PostgreSQL 12 on AWS Graviton2 ARM problem with IOPS
Следующее
От: Lucas
Дата:
Сообщение: Re: PostgreSQL 9.2 high replication lag