Re: Notifications within triggers seem to compromise performance

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Notifications within triggers seem to compromise performance
Дата
Msg-id 15979.1572272524@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Notifications within triggers seem to compromise performance  (Grégoire de Turckheim <gdeturckheim@scaleway.com>)
Ответы Re: Notifications within triggers seem to compromise performance
Список pgsql-performance
=?UTF-8?Q?Gr=c3=a9goire_de_Turckheim?= <gdeturckheim@scaleway.com> writes:
> I guess we stumbled upon a performance issue with notifications sent within triggers (using PostgreSQL version 11.5)
> and I'd like your opinion about this.

We made some performance improvements for NOTIFY just a couple months
ago, cf commits b10f40bf0, bb5ae8f6c, bca6e6435, 51004c717.  It would
be interesting to know how much those changes helped your use-case.

I'm quite disinclined to reduce the correctness guarantees around
NOTIFY for performance's sake.  That's the sort of thing that sounds
like a good idea until you find out that it subtly breaks your
application, and then you've got nothing.

            regards, tom lane



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

Предыдущее
От: Grégoire de Turckheim
Дата:
Сообщение: Notifications within triggers seem to compromise performance
Следующее
От: Grégoire de Turckheim
Дата:
Сообщение: Re: Notifications within triggers seem to compromise performance