From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Craig James <craig_james@emolecules.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Connection pooling for a mixture of lightweight and heavyweight jobs?
Date: Fri, 30 Jul 2010 12:37:13 -0500
Message-ID: <4C52C7790200002500033F1C@gw.wicourts.gov> (raw)
In-Reply-To: <4C530758.7050804@emolecules.com>
References: <4C50ABA5.5010408@emolecules.com>
<4C52B0240200002500033F10@gw.wicourts.gov>
<4C530758.7050804@emolecules.com>
Craig James <craig_james@emolecules.com> wrote:
>> Well, the "if it ain't broke, don't fix it" rule might come into
>> play here.
>
> I should have given one more detail here: We've been the victim
> of persistent "CPU spikes" that were discussed extensively in
> postgres-performance. Tom suggested upgrading to 8.4.4, but that
> can't happen for a couple more months (we're working on it).
>
>
http://archives.postgresql.org/pgsql-performance/2010-04/msg00071.php
Ah, I hadn't connected that thread with this. After rereading that
thread with the information from this thread in mind, I think what
you describe on the other thread could well be the "thundering herd"
problem. Some form of connection pooling could well help.
BTW, I hope you've updated to the latest 8.3.x by now. If not, you
should expedite that.
-Kevin
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, craig_james@emolecules.com
Subject: Re: Connection pooling for a mixture of lightweight and heavyweight jobs?
In-Reply-To: <4C52C7790200002500033F1C@gw.wicourts.gov>
References: <4C50ABA5.5010408@emolecules.com> <4C52B0240200002500033F10@gw.wicourts.gov> <4C530758.7050804@emolecules.com> <4C52C7790200002500033F1C@gw.wicourts.gov>
* 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