Re: Strange performance degradation

From: Sam Jas <samjas33(at)yahoo(dot)com>
To: pgsql-performance(at)postgresql(dot)org, Lorenzo Allegrucci <lorenzo(dot)allegrucci(at)forinicom(dot)it>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Strange performance degradation
Date: 2009-11-20 12:18:14
Message-ID: 971007.62572.qm@web95016.mail.in2.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance


Is there any idle connections exists ?

--
Thanks
Sam Jas

--- On Fri, 20/11/09, Lorenzo Allegrucci <lorenzo(dot)allegrucci(at)forinicom(dot)it> wrote:

From: Lorenzo Allegrucci <lorenzo(dot)allegrucci(at)forinicom(dot)it>
Subject: [GENERAL] Strange performance degradation
To: pgsql-performance(at)postgresql(dot)org
Cc: pgsql-general(at)postgresql(dot)org
Date: Friday, 20 November, 2009, 9:43 AM

Hi all,

I'm experiencing a strange behavior with my postgresql 8.3:
performance is degrading after 3/4 days of running time but if I
just restart it performance returns back to it's normal value..
In normal conditions the postgres process uses about 3% of cpu time
but when is in "degraded" conditions it can use up to 25% of cpu time.
The load of my server is composed of many INSERTs on a table, and
many UPDATEs and SELECT on another table, no DELETEs.
I tried to run vacuum by the pg_maintenance script (Debian Lenny)
but it doesn't help. (I have autovacuum off).

So, my main question is.. how can just a plain simple restart of postgres
restore the original performance (3% cpu time)?
I can post my postgresql.conf if needed.
Thank you for your help,

-- Lorenzo

-- Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message silly8888 2009-11-20 12:18:22 Re: using window-functions to get freshest value - how?
Previous Message A. Kretschmer 2009-11-20 12:17:38 Re: using window-functions to get freshest value - how?

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Williamson 2009-11-20 13:15:58 Re: Postgres query completion status?
Previous Message Thom Brown 2009-11-20 12:13:03 Re: Postgres query completion status?