Re: Validity of using the test_decoding plugin for production?

Поиск
Список
Период
Сортировка
От Joshua Kehn
Тема Re: Validity of using the test_decoding plugin for production?
Дата
Msg-id 1478026882.3121660.774144201.1F1F0D32@webmail.messagingengine.com
обсуждение исходный текст
Ответ на Re: Validity of using the test_decoding plugin for production?  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Validity of using the test_decoding plugin for production?  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-general
> On Tue, Nov 1, 2016, at 04:00 AM, Michael Paquier wrote:
> How are you going to use it anyway? First deparse its output
> and adapt it to your needs?

That's the intention. Take the output of test_decoding, transform it
into a reasonable object form, and feed that into an events stream for
real-time consumption.

The initial question was suitability of the test_decoding plugin, given
that it is the only one I see available on RDS and requiring a switch to
a self-managed Postgres instance—to use a separate plugin—would kill
this idea.

Are there any success/failure stories about using logical decoding as a
way of generating an events stream? There's some new question marks over
the consumer side, whether to use pg_recvlogical or something with a
peek/write to stream/pop cycle to protect the consumer from failure.

Given a single reader, what is the common failure mode when consuming
the output?

Best,

-Josh


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

Предыдущее
От: Melvin Davidson
Дата:
Сообщение: Re: Statistics on index usage
Следующее
От: Patrick B
Дата:
Сообщение: Re: Turning slave into a master - PostgreSQL 9.2