Re: performance config help - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: performance config help
Date
Msg-id 4B4B4AAA020000250002E1CD@gw.wicourts.gov
Whole thread Raw
In response to Re: performance config help  (Bob Dusek <redusek@gmail.com>)
Responses Re: performance config help  ("Dusek, Bob" <rd185032@ncr.com>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PERFORMANCE] work_mem vs temp files issue
Next
From: Greg Smith
Date:
Subject: Re: performance config help