From: chirag.dave@gmail.com
To: Rafael Domiciano <rafael.domiciano@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: checkpoint_timeout
Date: Wed, 8 Oct 2008 10:15:32 -0400
Message-ID: <f1d4f3170810080715u55afb2gd9d2edf7091603d0@mail.gmail.com> (raw)
In-Reply-To: <3a0028490810080531y155edffi7ff7c68b965a834a@mail.gmail.com>
References: <3a0028490810071321j32b4f450m95123d02b9fe6f49@mail.gmail.com>
<f1d4f3170810071413l3bb62167n2fa32a8ab1ec6dc@mail.gmail.com>
<3a0028490810080531y155edffi7ff7c68b965a834a@mail.gmail.com>
Again very little information to work with but I would start with looking at
postgres logs. you should enable checkpoint_timeout to a very high number,
so you have an entry in the log anytime checkpoint occurs and set your
log_min_duration_statement to number which your considered to be long
running, to log all slower statement.
Chirag Dave
DBA, Afilias
On Wed, Oct 8, 2008 at 8:31 AM, Rafael Domiciano <rafael.domiciano@gmail.com
> wrote:
> The server is running Postgres 8.2.4When the server is doing too much
> operations like I, U or D the postgres stop a while each 5 min...!
> I mean "stopping" that I don't receive any response from postgres, and the
> process the all people are running stay there, waiting for something.
> I read a several names to it like: gap, stall, slowdown... I don't know the
> write expression for this situation.
>
> I hope you can help me.
>
> Thnks,
>
> Rafael Domiciano
> Postgres DBA
>
> 2008/10/7 <chirag.dave@gmail.com>
>
> What version of postgres are you running ? and please also provide more
>> information about your suspected slowdown ?
>>
>>
>>
>>
>>
>> On Tue, Oct 7, 2008 at 4:21 PM, Rafael Domiciano <
>> rafael.domiciano@gmail.com> wrote:
>>
>>> Hello there,
>>> I'm having some slowndowns in my postgresql server, and I had been
>>> reading something about checkpoints, that could resolve my problem.
>>> Now, I have:
>>> checkpoint_segments = 30 # in logfile segments, min 1,
>>> 16MB each
>>> #checkpoint_timeout = 5min
>>>
>>> And I percebed that this slowndown is occuring for 5 min...! So I'm
>>> suposing that the problem is in the checkpoint_timeout.
>>>
>>> What's the impact to chang it to:
>>> checkpoint_timeout = 2min or
>>> checkpoint_timeout = 5min
>>>
>>> Tnhks,
>>>
>>> Rafael Domiciano
>>>
>>
>>
>
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: chirag.dave@gmail.com, rafael.domiciano@gmail.com
Subject: Re: checkpoint_timeout
In-Reply-To: <f1d4f3170810080715u55afb2gd9d2edf7091603d0@mail.gmail.com>
* 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