| От | James Mansion |
|---|---|
| Тема | Re: LISTEN / NOTIFY performance in 8.3 |
| Дата | |
| Msg-id | 47C48F9E.7000505@mansionfamily.plus.com обсуждение |
| Ответ на | Re: LISTEN / NOTIFY performance in 8.3 (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: LISTEN / NOTIFY performance in 8.3
|
| Список | pgsql-performance |
Tom Lane wrote: > read-modify-write type of operation it uses an exclusive lock, so only > one can clear its pg_listener entry at a time. The 'waiting' ones you > are seeing are stacked up behind whichever one has the lock at the > moment. They shouldn't be waiting for long. > I certainly hadn't expected that to be the implementation technique - isn't it smply that we need a sngle flag per worker process and can set/test-and-clear with atomic operations and then a signal to wake them up? Anyway - how hard would it be to install triggers on commit and rollback? Then we could write our own mechanisms. James
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера