Re: Avoid full page images in streaming replication?

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Avoid full page images in streaming replication?
Дата
Msg-id 20151022220330.GH14196@alap3.anarazel.de
обсуждение исходный текст
Ответ на Avoid full page images in streaming replication?  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Ответы Re: Avoid full page images in streaming replication?  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Re: Avoid full page images in streaming replication?  (Bernd Helmle <mailings@oopsware.de>)
Список pgsql-hackers
On 2015-10-22 16:34:38 -0500, Jim Nasby wrote:
> ISTM it should be possible to avoid sending full page writes to a streaming
> replica once the replica has reached a consistent state. I assume that the
> replica would still need to write full pages to it's disk in case of a
> crash, but the sender could insert special WAL records to tell it when to do
> so, instead of sending the full page image. Presumably this would be a big
> win for replication over a WAN.

Note that FPIs are often pretty good for replay performance, avoiding
lots of synchronous random reads.

I think FPI compression is a better solution for now. I found it to be
extremely effective in some benchmarks I recently ran.

Andres



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: [PATCH] SQL function to report log message
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Change behavior of (m)xid_age