From:
Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To:
Josh Berkus <josh(at)agliodbs(dot)com>
Cc:
Greg Smith <greg(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject:
Re: auto-sizing wal_buffers
Date:
2011-01-17 01:15:46
Message-ID:
AANLkTi=Dgn-3jRj+QUMCunMgicwifZENHXKnKMuTQWA5@mail.gmail.com (view raw or flat )
Thread:
2011-01-13 22:19:17 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-01-13 22:29:06 from Magnus Hagander <magnus(at)hagander(dot)net>
2011-01-13 22:31:04 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-01-13 23:02:12 from Josh Berkus <josh(at)agliodbs(dot)com>
2011-01-13 23:06:24 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-01-13 23:20:00 from Josh Berkus <josh(at)agliodbs(dot)com>
2011-01-14 00:25:09 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-01-15 06:51:50 from Greg Smith <greg(at)2ndquadrant(dot)com>
2011-01-15 08:02:30 from Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
2011-01-15 16:52:52 from Greg Smith <greg(at)2ndquadrant(dot)com>
2011-01-17 01:07:16 from Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
2011-01-18 11:50:52 from Greg Smith <greg(at)2ndquadrant(dot)com>
2011-01-19 02:51:10 from Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
2011-01-22 05:33:09 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-01-22 06:30:32 from Jaime Casanova <jaime(at)2ndquadrant(dot)com>
2011-01-22 14:54:53 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-01-23 00:22:26 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-01-23 01:33:54 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-01-23 01:45:02 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-01-23 01:50:20 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-01-23 01:50:50 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-01-23 02:08:22 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-01-23 02:13:07 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-01-23 02:24:48 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-01-23 02:26:42 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-01-23 02:42:26 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-01-23 02:52:18 from Robert Haas <robertmhaas(at)gmail(dot)com>
2011-01-23 03:12:16 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-01-15 22:34:11 from Josh Berkus <josh(at)agliodbs(dot)com>
2011-01-16 17:32:30 from Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
2011-01-17 04:06:53 from Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
2011-01-16 22:46:06 from Marti Raudsepp <marti(at)juffo(dot)org>
2011-01-17 01:15:46 from Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
2011-01-17 03:58:01 from Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
2011-01-18 11:55:34 from Greg Smith <greg(at)2ndquadrant(dot)com>
2011-01-13 23:24:31 from "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
2011-01-15 07:01:36 from Greg Smith <greg(at)2ndquadrant(dot)com>
Lists:
pgsql-hackers
On Sun, Jan 16, 2011 at 7:34 AM, Josh Berkus <josh(at)agliodbs(dot)com> wrote:
> I think we can be more specific on that last sentence; is there even any
> *theoretical* benefit to settings above 16MB, the size of a WAL segment?
> Certainly there have been no test results to show any.
If the workload generates 16MB or more WAL for wal_writer_delay,
16MB or more of wal_buffers would be effective. In that case,
wal_buffers is likely to be filled up with unwritten WAL, then you have
to write buffers while holding WALInsert lock. This is obviously not
good.
Regards,
--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
In response to
pgsql-hackers by date
Next :From: Simon RiggsDate: 2011-01-17 01:36:32
Subject : Re: We need to log aborted autovacuums
Previous :From : Alex HunsakerDate : 2011-01-17 01:14:09
Subject : Re: plperlu problem with utf8 [REVIEW]