From: Alvaro Herrera <alvherre@dcc.uchile.cl>
To: Jeffrey W. Baker <jwbaker@acm.org>
Cc: pgsql-general@postgresql.org
Subject: Re: disk performance benchmarks
Date: Wed, 15 Sep 2004 14:47:39 -0400
Message-ID: <20040915184739.GF4607@dcc.uchile.cl> (raw)
In-Reply-To: <1095273378.9384.0.camel@localhost.localdomain>
References: <cha71k$3qc@odah37.prod.google.com>
<x73c1kvjxg.fsf@yertle.int.kciLink.com>
<1095185498.5792.12.camel@localhost.localdomain>
<003801c49b07$f33b6990$ad01a8c0@zaphod>
<1095264696.8243.0.camel@localhost.localdomain>
<x73c1jctbl.fsf@yertle.int.kciLink.com>
<1095273378.9384.0.camel@localhost.localdomain>
On Wed, Sep 15, 2004 at 11:36:18AM -0700, Jeffrey W. Baker wrote:
> On Wed, 2004-09-15 at 10:53, Vivek Khera wrote:
> > >>>>> "JWB" == Jeffrey W Baker <jwbaker@acm.org> writes:
> >
> > JWB> All these replies are really interesting, but the point is not that my
> > JWB> RAIDs are too slow, or that my CPUs are too slow. My point is that, for
> > JWB> long stretches of time, by database doesn't come anywhere near using the
> > JWB> capacity of the hardware. And I think that's odd and would like to
> > JWB> config it to "false".
> >
> > Have you tried to increase your checkpoing_segments? I get the
> > suspicion that you're checkpointing every 3 minutes constantly.
> > You'll have to restart the postmaster for this setting to take effect,
> > I believe.
>
> I have checkpoint_segments set to 24, but I get the feeling that making
> it larger may have the opposite effect of what I want, by extending the
> period during which the DB makes no progress.
It sounds strange that the DB stops doing anything while the checkpoint
is in progress. Have you tried poking at pg_locks during that interval?
--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La naturaleza, tan frágil, tan expuesta a la muerte... y tan viva"
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: alvherre@dcc.uchile.cl, jwbaker@acm.org, pgsql-general@postgresql.org
Subject: Re: disk performance benchmarks
In-Reply-To: <20040915184739.GF4607@dcc.uchile.cl>
* 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