Re: LwLockRelease performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: LwLockRelease performance
Дата
Msg-id 2225685.1638483579@sss.pgh.pa.us
обсуждение исходный текст
Ответ на LwLockRelease performance  (Ashkil Dighin <ashkildighin76@gmail.com>)
Список pgsql-performance
Ashkil Dighin <ashkildighin76@gmail.com> writes:
> The performance bottleneck in LWLockRelease()method goes through an array
> one by one to see which lock was released with O(N). As soon as the lock is
> found it performs an array to remove the lock.

Typically, such locks are released in LIFO order.  Do you have any
actual evidence of a performance problem here?

            regards, tom lane



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

Предыдущее
От: Ashkil Dighin
Дата:
Сообщение: LwLockRelease performance
Следующее
От: Andres Freund
Дата:
Сообщение: Re: LwLockRelease performance