Re: Synchronous Log Shipping Replication

Поиск
Список
Период
Сортировка
От Markus Wanner
Тема Re: Synchronous Log Shipping Replication
Дата
Msg-id 48C68118.7030800@bluegap.ch
обсуждение исходный текст
Ответ на Re: Synchronous Log Shipping Replication  (Dimitri Fontaine <dfontaine@hi-media.com>)
Список pgsql-hackers
Hi,

Dimitri Fontaine wrote:
> Exactly the point. The process is now already waiting in all cases, so maybe 
> we could just force waiting some WALSender signal before sending the fsync() 
> order, so we now have Group Commit.

A single process can only wait on either fsync() or on select(), but not 
on both concurrently, because both syscalls are blocking. So mixing 
these into a single process is an inherently bad idea due to lack of 
parallelism.

I fail to see how log shipping would ease or have any other impact on a 
Group Commit feature, which should clearly also work for stand alone 
servers, i.e. where there is no WAL sender process.

Regards

Markus Wanner



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

Предыдущее
От: Markus Wanner
Дата:
Сообщение: Re: Synchronous Log Shipping Replication
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Synchronous Log Shipping Replication