From: | "Thomas F(dot) O'Connell" <tfo(at)sitening(dot)com> |
---|---|
To: | Ian Westmacott <ianw(at)intellivid(dot)com> |
Cc: | pgsql-performance(at)postgresql(dot)org |
Subject: | Re: wal_buffers |
Date: | 2005-10-06 06:39:20 |
Message-ID: | C140F925-0D7D-41B4-873A-6C81C0D3D307@sitening.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-performance |
On Oct 5, 2005, at 8:23 AM, Ian Westmacott wrote:
> Can anyone tell me what precisely a WAL buffer contains,
> so that I can compute an appropriate setting for
> wal_buffers (in 8.0.3)?
>
> I know the documentation suggests there is little
> evidence that supports increasing wal_buffers, but we
> are inserting a large amount of data that, I believe,
> easily exceeds the default 64K in a single transaction.
> We are also very sensitive to write latency.
>
> As background, we are doing a sustained insert of 2.2
> billion rows in 1.3 million transactions per day. Thats
> about 1700 rows per transaction, at (roughly) 50 bytes
> per row.
Ian,
The WAL Configuration chapter (25.2) has a pretty good discussion of
how wal_buffers is used:
http://www.postgresql.org/docs/8.0/static/wal-configuration.html
You might also take a look at Josh Berkus' recent testing on this
setting:
http://www.powerpostgresql.com/
--
Thomas F. O'Connell
Co-Founder, Information Architect
Sitening, LLC
Strategic Open Source: Open Your i™
http://www.sitening.com/
110 30th Avenue North, Suite 6
Nashville, TN 37203-6320
615-469-5150
615-469-5151 (fax)
From | Date | Subject | |
---|---|---|---|
Next Message | Yann Michel | 2005-10-06 08:19:19 | Re: index on custom function; explain |
Previous Message | Steinar H. Gunderson | 2005-10-06 00:12:39 | Re: [HACKERS] A Better External Sort? |