| От | Tom Lane |
|---|---|
| Тема | Re: Optimizing GetRunningTransactionLocks() |
| Дата | |
| Msg-id | 8583.1320093798@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Optimizing GetRunningTransactionLocks() (Simon Riggs <simon@2ndQuadrant.com>) |
| Список | pgsql-hackers |
Simon Riggs <simon@2ndQuadrant.com> writes:
> My list of things to do included optimising
> GetRunningTransactionLocks(), run once per checkpoint.
> I was thinking I needed to try harder to avoid acquiring LWlocks on
> all the lock partitions.
> ISTM that I don't need to do this - lwlocks on lock partitions are
> almost never contended now, so this should go much faster than before.
> Any thoughts? Do we think it would benefit from further tweaking?
> I'll assume not unless I hear from somebody with a different idea.
ISTM that some evidence of a problem should be acquired before expending
sweat on a solution ... have you seen evidence that this creates any
real issue?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера