Re: Strange behaviour under heavy load

From: "Dmitry Koterov" <dmitry(at)koterov(dot)ru>
To: "Oleg Bartunov" <oleg(at)sai(dot)msu(dot)su>
Cc: "Postgres General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Strange behaviour under heavy load
Date: 2007-03-27 17:13:46
Message-ID: d7df81620703271013m4272a493i8d751d5d754f9695@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How to tune them?

Now I have:

checkpoint_segments = 5 # in logfile segments, min 1, 16MB each
checkpoint_timeout = 900 # range 30-3600, in seconds
checkpoint_warning = 30 # in seconds, 0 is off

No checkpoint warnings in pgsql logs.

On 3/27/07, Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> wrote:
>
> hmm,
>
> looks like checkpoint ?
> Check checkpoint settings in postgresql.conf.
>
>
> Oleg
> On Tue, 27 Mar 2007, Dmitry Koterov wrote:
>
> > Hello.
> >
> > I have found that sometimes heavy loaded PostgreSQL begins to run all
> the
> > queries slower than usual, sometimes - 5 and more times slower. I cannot
> > reprocude that, but symptoms are the following: queries work very fast
> for
> > 5-10 minutes, and after that - significant slowdown (every query, even a
> > simple one, works 5-10 and ever more times slower), disk write activity
> > grows too (but not everytime - I don't know exactli if there is a direct
> > correlation). 2-3 seconds, then - performance restores back to normal.
> >
> > Autovacuum is turned off.
> >
> > Machine has 2 processors, huge memory, fast SCSI disks.
> >
> > I understand that there is too less information. Please advice what to
> > monitor for better problem discovering.
> >
>
> Regards,
> Oleg
> _____________________________________________________________
> Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru)
> Sternberg Astronomical Institute, Moscow University, Russia
> Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
> phone: +007(495)939-16-83, +007(495)939-23-83
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Raymond O'Donnell 2007-03-27 17:23:45 Re: Populate a calendar table
Previous Message Bruce Momjian 2007-03-27 16:59:21 Re: [GENERAL] Is there a shortage of postgresql skilled ops people