pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org, Greg Smith <greg@2ndquadrant.com>
Subject: Re: Defaulting wal_sync_method to fdatasync on Linux for 9.1?
Date: Tue, 16 Nov 2010 18:31:34 -0500
Message-ID: <9058.1289950294@sss.pgh.pa.us> (raw)
In-Reply-To: <4CE312D9.6030503@agliodbs.com>
References: <AANLkTi=n3zxiLNFhbpiN=JPQPwB=BhXf9iepw1KOEs8U@mail.gmail.com>
	<4CCDCAA3.4050805@2ndquadrant.com>
	<201011010010.28724.andres@anarazel.de>
	<4CD472CC.80006@2ndquadrant.com>
	<AANLkTinEAmKDz7x356bgX=-6x7zpjK3bB0hYAmKvYHB9@mail.gmail.com>
	<4CE2EBF8.4040602@2ndquadrant.com>
	<4CE312D9.6030503@agliodbs.com>

Josh Berkus <josh@agliodbs.com> writes:
> On 11/16/10 12:39 PM, Greg Smith wrote:
>> I want to next go through and replicate some of the actual database
>> level tests before giving a full opinion on whether this data proves
>> it's worth changing the wal_sync_method detection.  So far I'm torn
>> between whether that's the right approach, or if we should just increase
>> the default value for wal_buffers to something more reasonable.

> We'd love to, but wal_buffers uses sysV shmem.

Well, we're not going to increase the default to gigabytes, but we could
very probably increase it by a factor of 10 or so without anyone
squawking.  It's been awhile since I heard of anyone trying to run PG in
4MB shmmax.  How much would a change of that size help?

			regards, tom lane



view thread (46+ messages)  latest in thread

Message-ID: <9058.1289950294@sss.pgh.pa.us>
Permalink:  ../9058.1289950294@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/9058.1289950294@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, josh@agliodbs.com, greg@2ndquadrant.com
  Subject: Re: Defaulting wal_sync_method to fdatasync on Linux for 9.1?
  In-Reply-To: <9058.1289950294@sss.pgh.pa.us>

* 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