summaryrefslogtreecommitdiff
path: root/doc/bug.template
diff options
context:
space:
mode:
authorHeikki Linnakangas2010-02-19 10:51:04 +0000
committerHeikki Linnakangas2010-02-19 10:51:04 +0000
commitad458cfe81bcefd6d8bd17ff2e42c6599d441bd6 (patch)
treea4e6d3c89e74fbd65b03103d7a4a575f96f3a6fa /doc/bug.template
parent94f610b16342d7727774f6bb9245341cfa6f895c (diff)
Don't use O_DIRECT when writing WAL files if archiving or streaming is
enabled. Bypassing the kernel cache is counter-productive in that case, because the archiver/walsender process will read from the WAL file soon after it's written, and if it's not cached the read will cause a physical read, eating I/O bandwidth available on the WAL drive. Also, walreceiver process does unaligned writes, so disable O_DIRECT in walreceiver process for that reason too.
Diffstat (limited to 'doc/bug.template')
0 files changed, 0 insertions, 0 deletions