pg.ddx.io pgsql-performance@postgresql.org mailing list archivehelp / color / mirror / Atom feed
From: Kevin Brown <kevin@sysexperts.com>
To: Hackers <pgsql-hackers@postgresql.org>
To: pgsql-performance@postgresql.org, Advocacy <pgsql-advocacy@postgresql.org>
Subject: Re: [PERFORM] [HACKERS] More benchmarking of wal_buffers
Date: Thu, 13 Feb 2003 19:46:46 -0800
Message-ID: <20030214034646.GA1847@filer> (raw)
In-Reply-To: <3331.1045189757@sss.pgh.pa.us>
References: <GNELIHDDFBOCMGBFGEFOKEIKCFAA.chriskl@familyhealth.com.au>
<3331.1045189757@sss.pgh.pa.us>
Tom Lane wrote:
> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> > I've just spent the last day and a half trying to benchmark our new database
> > installation to find a good value for wal_buffers. The quick answer - there
> > isn't, just leave it on the default of 8.
>
> I don't think this is based on a useful test for wal_buffers. The
> wal_buffers setting only has to be large enough for the maximum amount
> of WAL log data that your system emits between commits, because a commit
> (from anyone) is going to flush the WAL data to disk (for everyone).
What happens when the only transaction running emits more WAL log data
than wal_buffers can handle? A flush happens when the WAL buffers
fill up (that's what I'd expect)? Didn't find much in the
documentation about it...
--
Kevin Brown kevin@sysexperts.com
view thread (12+ messages) latest in thread
Message-ID: <20030214034646.GA1847@filer> Permalink: ../20030214034646.GA1847@filer/ Also on: postgresql.org/message-id/20030214034646.GA1847@filer ·
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-performance@postgresql.org Cc: kevin@sysexperts.com, pgsql-hackers@postgresql.org, pgsql-advocacy@postgresql.org Subject: Re: [PERFORM] [HACKERS] More benchmarking of wal_buffers In-Reply-To: <20030214034646.GA1847@filer> References: <GNELIHDDFBOCMGBFGEFOKEIKCFAA.chriskl@familyhealth.com.au> <3331.1045189757@sss.pgh.pa.us> <20030214034646.GA1847@filer> * 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