pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Rafael Domiciano <rafael.domiciano@gmail.com>
Cc: Julio Leyva <jcleyva@hotmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: checkpoint_timeout
Date: Wed, 08 Oct 2008 13:08:46 -0500
Message-ID: <48ECB0DD.EE98.0025.0@wicourts.gov> (raw )
In-Reply-To: <3a0028490810081054o2100b2bci7bde6b7213712c58@mail.gmail.com >
References: <3a0028490810071321j32b4f450m95123d02b9fe6f49@mail.gmail.com >
<f1d4f3170810071413l3bb62167n2fa32a8ab1ec6dc@mail.gmail.com >
<3a0028490810080531y155edffi7ff7c68b965a834a@mail.gmail.com >
<1223475780.6070.10.camel@bnicholson-desktop >
<3a0028490810080734r26912c72n94d6f509dfb55b6e@mail.gmail.com >
<BLU102-W53021316E8139B5A348338A13B0@phx.gbl >
<3a0028490810080919v3762f924je688a56210558e95@mail.gmail.com >
<BLU102-W420C4D08216238B5121B32A13B0@phx.gbl >
<3a0028490810080934l211d137uc9dde69cad7879d9@mail.gmail.com >
<48EC9D9F.EE98.0025.0@wicourts.gov >
<3a0028490810081054o2100b2bci7bde6b7213712c58@mail.gmail.com >
>>> "Rafael Domiciano" <rafael.domiciano@gmail.com> wrote:
> Right...I going to restart my server only tonight, the access along
the day
> is too much to do now...!
> Maybe increasing a little bit could do difference?
> I thougth to increase to around 256 Kb!
> I have a doubt... what's the chance to my server get instable?
Changing wal_buffers to that isn't at all likely to cause problems,
unless you are teetering right on the edge of exceeding your shmmax
setting. It's also unlikely to help much, in my opinion.
If the problem is checkpoints (which seems likely but far from a sure
thing based on the information provided), aggressive background writer
setting might be your best bet under 8.2.X. To solve similar problems
we had to go to the following, although many on these lists feel that
settings this aggressive are rarely needed, so use at your own risk.
#bgwriter_delay = 200ms
bgwriter_lru_percent = 20.0
bgwriter_lru_maxpages = 200
bgwriter_all_percent = 10.0
bgwriter_all_maxpages = 600
Even better would be to go to the latest revision of the 8.3 release,
which at this writing is 8.3.4. In that release PostgreSQL spreads
out the work of a checkpoint to minimize this problem.
-Kevin
view thread (16+ messages) latest in thread
Message-ID: <48ECB0DD.EE98.0025.0@wicourts.gov>
Permalink: ../48ECB0DD.EE98.0025.0@wicourts.gov/
Also on: postgresql.org/message-id/48ECB0DD.EE98.0025.0@wicourts.gov
copy link · copy postgr.es
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-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, rafael.domiciano@gmail.com, jcleyva@hotmail.com
Subject: Re: checkpoint_timeout
In-Reply-To: <48ECB0DD.EE98.0025.0@wicourts.gov>
* 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