Re: WALWriter active during recovery
От | Simon Riggs |
---|---|
Тема | Re: WALWriter active during recovery |
Дата | |
Msg-id | CA+U5nMLpKinwDqVHbkED1tdut+Cg_6bLn8YSsre1Zid3rGtWag@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: WALWriter active during recovery (Heikki Linnakangas <hlinnakangas@vmware.com>) |
Ответы |
Re: WALWriter active during recovery
|
Список | pgsql-hackers |
On 16 December 2014 at 14:12, Heikki Linnakangas <hlinnakangas@vmware.com> wrote: > On 12/15/2014 08:51 PM, Simon Riggs wrote: >> >> Currently, WALReceiver writes and fsyncs data it receives. Clearly, >> while we are waiting for an fsync we aren't doing any other useful >> work. >> >> Following patch starts WALWriter during recovery and makes it >> responsible for fsyncing data, allowing WALReceiver to progress other >> useful actions. > > > What other useful actions can WAL receiver do while it's waiting? It doesn't > do much else than receive WAL, and fsync it to disk. So now it will only need to do one of those two things. -- Simon Riggs http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления: