| От | Tom Lane |
|---|---|
| Тема | Re: Performance of the listen command |
| Дата | |
| Msg-id | 20791.1154216708@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Performance of the listen command (Flemming Frandsen <ff@partyticket.net>) |
| Список | pgsql-general |
Flemming Frandsen <ff@partyticket.net> writes:
> I just looked at the pg_listener table:
> ... and noticed the complete lack of indexen, surely this must be a bug?
No, that was intentional. It's been a long time but I think the
argument was that the cost of updating the indexes would outweigh
their usefulness. The listen/notify code is really not designed
for a great deal of "flap" in the set of active listeners :-(
I'm not particularly concerned about trying to add indexes --- would
much rather get rid of the table approach entirely. There have been
prior discussions of this but nothing's been done.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера