Re: AccessShareLock and Resource Contention

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: AccessShareLock and Resource Contention
Дата
Msg-id CAMkU=1zcYaZNNybZfdgoSiE2VAT5huaBLWeHTRiVi9Rcq+WxHg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: AccessShareLock and Resource Contention  (maillists0@gmail.com)
Список pgsql-general

On Tue, Nov 26, 2013 at 9:50 AM, <maillists0@gmail.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@gmail.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Vick Khera
Дата:
Сообщение: Re: tracking scripts...
Следующее
От: John R Pierce
Дата:
Сообщение: Re: tracking scripts...