Re: FlexLocks

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: FlexLocks
Дата
Msg-id 4EC245350200002500042F62@gw.wicourts.gov
обсуждение исходный текст
Ответ на FlexLocks  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: FlexLocks  (Dan Ports <drkp@csail.mit.edu>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> wrote:
> I'm not necessarily saying that any of these particular
> things are what we want to do, just throwing out the idea that we
> may want a variety of lock types that are similar to lightweight
> locks but with subtly different behavior, yet with common
> infrastructure for error handling and wait queue management.
The locking in the clog area is pretty funky.  I bet we could craft
a special flavor of FlexLock to make that cleaner.  And I would be
surprised if some creative thinking didn't yield a far better FL
scheme for SSI than we can manage with existing LW locks.
Your description makes sense to me, and your numbers prove the value
of the concept.  Whether there's anything in the implementation I
would quibble about will take some review time.
-Kevin


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

Предыдущее
От: Shigeru Hanada
Дата:
Сообщение: Re: pgsql_fdw, FDW for PostgreSQL server
Следующее
От: Greg Smith
Дата:
Сообщение: Re: IDLE in transaction introspection