Re: Major Performance decrease after some hours

From: "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>
To: MaXX <bs139412(at)skynet(dot)be>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Major Performance decrease after some hours
Date: 2006-10-01 12:58:38
Message-ID: 451FBB7E.2090109@zeut.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

MaXX wrote:
>> There are 10-15 postmaster processes running which use all the CPU
>> power.
>> A restart of tomcat and then postgresql results in the same situation.
>> Some postgres processes are in DELETE waiting or SELECT waiting.
>> VACUUM runs through in just about 1-2 seconds and is run via cron
>> every minute and reports that the fsm setting are high enough.
>
> Pure speculation: are you sure you aren't vacuuming too agressively?

Have you tried autovacuum? You can manually tweak the settings so that
your hot spot tables are vacuumed aggressivly. One of the main upsides
to autovacuum is tha tit saves cycles, that is, it only vacuums when you
need it.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Rieke 2006-10-01 13:58:12 Re: memory issues when running with mod_perl
Previous Message Peter Bauer 2006-10-01 12:08:20 Re: Major Performance decrease after some hours