Re: performance config help

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Bob Dusek" <redusek(at)gmail(dot)com>
Cc: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>, <pgsql-performance(at)postgresql(dot)org>
Subject: Re: performance config help
Date: 2010-01-11 21:58:34
Message-ID: 4B4B4AAA020000250002E1CD@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Bob Dusek <redusek(at)gmail(dot)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

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Greg Smith 2010-01-11 22:04:08 Re: performance config help
Previous Message Tom Lane 2010-01-11 21:36:22 Re: [PERFORMANCE] work_mem vs temp files issue