Re: AccessShareLock and Resource Contention

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: maillists0(at)gmail(dot)com
Cc: PostgreSQL pg-general List <pgsql-general(at)postgresql(dot)org>
Subject: Re: AccessShareLock and Resource Contention
Date: 2013-11-26 20:05:42
Message-ID: CAMkU=1zcYaZNNybZfdgoSiE2VAT5huaBLWeHTRiVi9Rcq+WxHg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Nov 26, 2013 at 9:50 AM, <maillists0(at)gmail(dot)com> wrote:

> Hit send on that one too soon. I see 6.5k access share locks out of 7.5k
> transactions.
>
>
> On Tue, Nov 26, 2013 at 12:41 PM, <maillists0(at)gmail(dot)com> wrote:
>
>> I have a 9.2 server that occasionally becomes CPU bound. Disk wait is
>> nominal and there's no memory pressure. The workload is almost all reads
>> and the cache hit rate is high.
>>
>

Do you see higher user time, or high system time? What is the maximum
number of concurrent connections you have?

>
>> For some one minute periods, my monitoring shows around 1.5k to 2k access
>> share locks out of a total of 7.5 to 8k transactions. What's the best
>> strategy for finding out if that is creating a bottleneck?
>>
>
How are you monitoring? What do those numbers mean, that you took that
many access shared locks, or you held that many simultaneously at the peak,
or that you blocked on them that many times?

Cheers,

Jeff

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2013-11-26 20:13:53 Re: tracking scripts...
Previous Message Vick Khera 2013-11-26 20:00:27 Re: tracking scripts...