Re: Reducing ClogControlLock contention

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Reducing ClogControlLock contention
Дата
Msg-id 20150701102111.GZ30708@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Reducing ClogControlLock contention  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Reducing ClogControlLock contention  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 2015-07-01 11:19:40 +0100, Simon Riggs wrote:
> What "tricks" are being used??
> 
> Please explain why taking 2 locks is bad here, yet works fine elsewhere.

I didn't say anything about 'bad'. It's more complicated than one
lock. Suddenly you have to care about lock ordering and such. The
algorithms for ensuring correctness gets more complicated.



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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Reducing ClogControlLock contention
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Expending the use of xlog_internal.h's macros