pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: A J <s5aly@yahoo.com>
To: PG Admin <pgsql-admin@postgresql.org>
Subject: synchronous_commit and wal_writer_delay
Date: Tue, 26 Jul 2011 11:39:22 -0700 (PDT)
Message-ID: <1311705562.54342.YahooMailNeo@web120018.mail.ne1.yahoo.com> (raw)

Does a synchronous_commit force WAL to be committed to disk or does it just WAIT for WAL to be committed according to WAL's set frequency to write ?
i.e. if I set wal_writer_delay=200ms and set synchronous_commit=on, will each commit wait for upto 200ms before committing ?

view thread (2+ messages)  latest in thread

Message-ID: <1311705562.54342.YahooMailNeo@web120018.mail.ne1.yahoo.com>
Permalink:  ../1311705562.54342.YahooMailNeo@web120018.mail.ne1.yahoo.com/
Also on:    postgresql.org/message-id/1311705562.54342.YahooMailNeo@web120018.mail.ne1.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: s5aly@yahoo.com
  Subject: Re: synchronous_commit and wal_writer_delay
  In-Reply-To: <1311705562.54342.YahooMailNeo@web120018.mail.ne1.yahoo.com>
  References: <1311705562.54342.YahooMailNeo@web120018.mail.ne1.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox