Re: High CPU Load

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: Jérôme BENOIS <benois(at)argia-engineering(dot)fr>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: High CPU Load
Date: 2006-09-19 09:53:25
Message-ID: 450FBE15.9010905@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi, Jerome,

Jérôme BENOIS wrote:

> Now i Have 335 concurrent connections, i decreased work_mem parameter to
> 32768 and disabled Hyper Threading in BIOS. But my CPU load is still
> very important.

What are your settings for commit_siblings and commit_delay?

> Tomorrow morning i plan to add 2Giga RAM ... But I don't understand why
> my database server worked good with previous version of postgres and
> same queries ...

I don't think any more that it's the RAM, as you told you don't go into
swap. It has to be something else.

Could you try logging which are the problematic queries, maybe they have
bad plans for whatever reason.

> I used already database pool on my application and when i decrease
> number of connection my application is more slow ;-(

Could you just make sure that the pool really uses persistent
connections, and is not broken or misconfigured, always reconnect?

HTH,
Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jérôme BENOIS 2006-09-19 12:48:20 Re: High CPU Load
Previous Message Luke Lonergan 2006-09-19 04:01:45 Re: Large tables (was: RAID 0 not as fast as