pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: creimer@brturbo.com.br
Cc: pgsql-performance@postgresql.org
Subject: Re: Context switch storm
Date: Fri, 03 Nov 2006 14:38:25 +0000
Message-ID: <454B5461.4030802@archonet.com> (raw)
In-Reply-To: <c4069b084d04.454b27e4@brturbo.com.br>
References: <efc1d7c07cf.454afe8d@brturbo.com.br>
	<454B3B75.6@archonet.com>
	<c4069b084d04.454b27e4@brturbo.com.br>

creimer@brturbo.com.br wrote:
>> If you can keep your numbers of clients down below the critical 
>> level, you should find the overall workload is fine.
> 
> We have at about 600 connections. Is this a case to use a connection
> pool (pg_pool) system?

Possibly - that should help. I'm assuming that most of your queries are 
very short, so you could probably get that figure down a lot lower. 
You'll keep the same amount of queries running through the system, just 
queue them up.

> And why this happens only with 8.0 and 8.1 and not with the 7.4?

Not sure. Maybe 8.x is making more intensive use of your memory, 
possibly with a change in your plans.

-- 
   Richard Huxton
   Archonet Ltd



view thread (22+ messages)  latest in thread

Message-ID: <454B5461.4030802@archonet.com>
Permalink:  ../454B5461.4030802@archonet.com/
Also on:    postgresql.org/message-id/454B5461.4030802@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dev@archonet.com, creimer@brturbo.com.br
  Subject: Re: Context switch storm
  In-Reply-To: <454B5461.4030802@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox