Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id AAFC8632DCD for ; Mon, 11 Jan 2010 17:58:55 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 60555-08 for ; Mon, 11 Jan 2010 21:58:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gw.wicourts.gov (gwmta.wicourts.gov [165.219.244.99]) by mail.postgresql.org (Postfix) with ESMTP id 13484633673 for ; Mon, 11 Jan 2010 17:58:44 -0400 (AST) Received: from Courts-MTA by gw.wicourts.gov with Novell_GroupWise; Mon, 11 Jan 2010 15:58:43 -0600 Message-Id: <4B4B4AAA020000250002E1CD@gw.wicourts.gov> X-Mailer: Novell GroupWise Internet Agent 8.0.1 Date: Mon, 11 Jan 2010 15:58:34 -0600 From: "Kevin Grittner" To: "Bob Dusek" Cc: "Scott Marlowe" , Subject: Re: performance config help References: <4B4B177B020000250002E194@gw.wicourts.gov> <4B4B3BF6020000250002E1B1@gw.wicourts.gov> <61039b861001111323g531a5d68q1f59171d926aefef@mail.gmail.com> In-Reply-To: <61039b861001111323g531a5d68q1f59171d926aefef@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.589 tagged_above=-10 required=5 tests=BAYES_00=-2.599, FH_DATE_PAST_20XX=3.188 X-Spam-Level: X-Archive-Number: 201001/222 X-Sequence-Number: 37102 Bob Dusek wrote: > How do I learn more about the actual lock contention in my db? > Lock contention makes some sense. Each of the 256 requests are > relatively similar. So, I don't doubt that lock contention could > be an issue. I just don't know how to observe it or correct it. > It seems like if we have processes that are contending for locks, > there's not much we can do about it. I'm not sure what the best way would be to measure it, but in prior discussions the general mood seemed to be that if you had so many active sessions that you were running into the issue, the best solution was to use a connection pool to avoid it. -Kevin