Re: Sending notifications from the master to the standby

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Sending notifications from the master to the standby
Дата
Msg-id CA+U5nM+1TP9MhuzGJ-nTCQWmDdrcSZBG6pA7b97EMwR1NcZymA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Sending notifications from the master to the standby  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Sending notifications from the master to the standby  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
On Wed, Jan 11, 2012 at 11:38 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

>> The obvious first use case for this is for cache invalidation.
>
> Yeah, upthread Simon pointed out that propagating notifies would be
> useful for flushing caches in applications that watch the database in a
> read-only fashion.  I grant that such a use-case is technically possible
> within the limitations of a slave server; I'm just dubious that it's a
> sufficiently attractive use-case to justify the complexity and future
> maintenance costs of the sort of designs we are talking about.  Or in
> other words: so far, cache invalidation is not the "first" use-case,
> it's the ONLY POSSIBLE use-case.  That's not useful enough.

Many people clearly do think this is useful.

I personally don't think it will be that complex. I'm willing to
review and maintain it if the patch works the way we want it to.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: log messages for archive recovery progress
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: JSON for PG 9.2