On 16 December 2014 at 14:12, Heikki Linnakangas <hlinnakan...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers