Re: Optimize LISTEN/NOTIFY
От | Tom Lane |
---|---|
Тема | Re: Optimize LISTEN/NOTIFY |
Дата | |
Msg-id | 165530.1752362320@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Optimize LISTEN/NOTIFY ("Joel Jacobson" <joel@compiler.org>) |
Ответы |
Re: Optimize LISTEN/NOTIFY
|
Список | pgsql-hackers |
"Joel Jacobson" <joel@compiler.org> writes: > The attached proof-of-concept patch proposes a straightforward > optimization for the single-listener case. It introduces a shared-memory > hash table mapping (dboid, channelname) to the ProcNumber of a single > listener. What does that do to the cost and parallelizability of LISTEN/UNLISTEN? > The patch also includes a "wake only tail" optimization (contributed by > Marko Tikkaja) to help prevent backends from falling too far behind. Coulda sworn we dealt with that case some years ago. In any case, if it's independent of the other idea it should probably get its own thread. regards, tom lane
В списке pgsql-hackers по дате отправления: