| От | Laurenz Albe |
|---|---|
| Тема | Re: AW: AW: Replication Testing- How to introduce a Lag |
| Дата | |
| Msg-id | fc42f77c80fdb3c0267148b807edfacc49b0b0ca.camel@cybertec.at обсуждение исходный текст |
| Ответ на | AW: AW: Replication Testing- How to introduce a Lag ("Subramanian,Ramachandran" <ramachandran.subramanian@alte-leipziger.de>) |
| Ответы |
AW: AW: AW: Replication Testing- How to introduce a Lag
|
| Список | pgsql-novice |
On Sat, 2026-03-21 at 07:49 +0000, Subramanian,Ramachandran wrote: > > Look at "pg_stat_replication" on the primary server. > > If I just look at the write_lag columns, it would give me a good idea of the situation -- Is my understanding correct? Yes, but if no WAL gets generated and replicated for a while, the columns will become NULL, because then delay measured in time makes no sense. Therefore, I prefer to use "replay_lsn" and friends and measure the lag in bytes. Yours, Laurenz Albe
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера