diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2012-06-07 19:22:47 +0100 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2012-06-07 19:22:47 +0100 |
commit | 2c8a4e9be2730342cbca85150a2a9d876aa77ff6 (patch) | |
tree | d4431bf22e39c7c2a145cb2ce838f2cad6e0d3f8 /src/backend/access/gist/gistproc.c | |
parent | b50991eedb458a81d875d049f48fb62ab1685c0d (diff) | |
download | postgresql-2c8a4e9be2730342cbca85150a2a9d876aa77ff6.tar.gz |
Wake WALSender to reduce data loss at failover for async commit.
WALSender now woken up after each background flush by WALwriter, avoiding
multi-second replication delay for an all-async commit workload.
Replication delay reduced from 7s with default settings to 200ms and often
much less, allowing significantly reduced data loss at failover.
Andres Freund and Simon Riggs
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions