Re: PostgreSQL 9.2 high replication lag

Поиск
Список
Период
Сортировка
От Ben Madin
Тема Re: PostgreSQL 9.2 high replication lag
Дата
Msg-id CA+weYr2vFKY43YS1kFtuXqKC27CBqJbVSs-jVodH7C0QuheKQw@mail.gmail.com
обсуждение исходный текст
Ответ на PostgreSQL 9.2 high replication lag  (Lucas <root@sud0.nz>)
Ответы Re: PostgreSQL 9.2 high replication lag  (Lucas <root@sud0.nz>)
Список pgsql-general
I realise you may have other complications, but we have upgraded numerous v9.6 servers (on AWS) to v12 in the last year, with basically no problems in the upgrade, and many less problems with streaming. It might take less time to complete the upgrade??

cheers

Ben


On Wed, 14 Jul 2021 at 09:10, Lucas <root@sud0.nz> wrote:
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.




--

Ausvet Logo

Dr Ben Madin
 
BVMS MVPHMgmt PhD MANZCVS GAICD
Managing Director
Skype: benmadin
Address: 
5 Shuffrey Street
Fremantle, WA 6160
Australia
Вложения

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

Предыдущее
От: Lucas
Дата:
Сообщение: Re: PostgreSQL 9.2 high replication lag
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: PostgreSQL 9.2 high replication lag