Re: Strange behaviour under heavy load - Mailing list pgsql-general

From Dmitry Koterov
Subject Re: Strange behaviour under heavy load
Date
Msg-id d7df81620703280140v53728765s2a7ebc42a30e4bc9@mail.gmail.com
Whole thread Raw
In response to Strange behaviour under heavy load  ("Dmitry Koterov" <dmitry@koterov.ru>)
Responses Re: Strange behaviour under heavy load  ("Dmitry Koterov" <dmitry@koterov.ru>)
List pgsql-general
New information.

When I run CHECKPOINT manually in psql console, effect is fully reproduced.
So - it is a checkpoint slowdown.

The quesion is - how to make CHECKPOINT work faster?

On 3/27/07, Dmitry Koterov <dmitry@koterov.ru> wrote:
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@sai.msu.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@sai.msu.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@postgresql.org so that your
       message can get through to the mailing list cleanly


pgsql-general by date:

Previous
From: Denis Gasparin
Date:
Subject: Prepared queries vs Non-prepared
Next
From: Sebastian Boehm
Date:
Subject: performance of fixed length columns-only tables