Re: Synchronous Log Shipping Replication

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Synchronous Log Shipping Replication
Дата
Msg-id 200809082310.m88NAel28205@momjian.us
обсуждение исходный текст
Ответ на Re: Synchronous Log Shipping Replication  (Markus Wanner <markus@bluegap.ch>)
Список pgsql-hackers
Markus Wanner wrote:
> Hi,
> 
> Bruce Momjian wrote:
> > Backends would
> > update a shared memory variable specifying how far they want the wal
> > streamer to advance and send a signal to the wal streamer if necessary. 
> > Backends would monitor another shared memory variable that specifies how
> > far the wal streamer has advanced.
> 
> That sounds like WAL needs to be written to disk, before it can be sent 
> to the standby. Except maybe with some sort of mmap'ing the WAL.

Well, WAL is either on disk or in the wal_buffers in shared memory ---
in either case, a WAL streamer can get to it.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


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

Предыдущее
От: Markus Wanner
Дата:
Сообщение: Re: Synchronous Log Shipping Replication
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: reducing statistics write overhead