pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Julien Cigar <jcigar@ulb.ac.be>
Cc: pgsql-performance@postgresql.org
Subject: Re: Postgres becoming slow, only full vacuum fixes it
Date: Mon, 24 Sep 2012 15:34:31 +0200
Message-ID: <201209241534.31974.andres@2ndquadrant.com> (raw)
In-Reply-To: <506057E7.5090008@ulb.ac.be>
References: <D15ECA12-8D6E-4E53-A294-5E175564CA61@gmail.com>
	<201209241434.56760.andres@2ndquadrant.com>
	<506057E7.5090008@ulb.ac.be>

On Monday, September 24, 2012 02:53:59 PM Julien Cigar wrote:
> On 09/24/2012 14:34, Andres Freund wrote:
> > On Monday, September 24, 2012 02:21:09 PM Julien Cigar wrote:
> >> 5) synchronous_commit = off should only be used if you have a
> >> battery-backed write cache.
> > 
> > Huh? Are you possibly confusing this with full_page_writes?
> 
> indeed...! sorry for that
> (note that you still have a (very) small chance of loosing data with
> synchronous_commit = off if your server crashes between two "commit
> chunks")
Sure, you have a chance of loosing the last some transactions, but you won't 
corrupt anything. Thats the entire point of the setting ;)

Greetings,

Andres
-- 
 Andres Freund	                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services




view thread (24+ messages)  latest in thread

Message-ID: <201209241534.31974.andres@2ndquadrant.com>
Permalink:  ../201209241534.31974.andres@2ndquadrant.com/
Also on:    postgresql.org/message-id/201209241534.31974.andres@2ndquadrant.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: andres@2ndquadrant.com, jcigar@ulb.ac.be
  Subject: Re: Postgres becoming slow, only full vacuum fixes it
  In-Reply-To: <201209241534.31974.andres@2ndquadrant.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