From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Bob Dusek <redusek@gmail.com>
Cc: Scott Marlowe <scott.marlowe@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: performance config help
Date: Mon, 11 Jan 2010 15:58:34 -0600
Message-ID: <4B4B4AAA020000250002E1CD@gw.wicourts.gov> (raw)
In-Reply-To: <61039b861001111323g531a5d68q1f59171d926aefef@mail.gmail.com>
References: <4B4B177B020000250002E194@gw.wicourts.gov>
<dcc563d11001111136y117ea68dp651fd24ce72385f3@mail.gmail.com>
<4B4B3BF6020000250002E1B1@gw.wicourts.gov>
<61039b861001111323g531a5d68q1f59171d926aefef@mail.gmail.com>
Bob Dusek <redusek@gmail.com> 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
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-performance@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, redusek@gmail.com, scott.marlowe@gmail.com
Subject: Re: performance config help
In-Reply-To: <4B4B4AAA020000250002E1CD@gw.wicourts.gov>
References: <4B4B177B020000250002E194@gw.wicourts.gov> <dcc563d11001111136y117ea68dp651fd24ce72385f3@mail.gmail.com> <4B4B3BF6020000250002E1B1@gw.wicourts.gov> <61039b861001111323g531a5d68q1f59171d926aefef@mail.gmail.com> <4B4B4AAA020000250002E1CD@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