- Chap 11 Backup and Recovery
- Chap 12 Replication and Upgrades
Highly recommended!
https://learning.oreilly.com/library/view/-/9781835460580/ or https://www.packtpub.com/product/postgresql-16-administratio...
That's not really correct - postgres' MVCC implementation doesn't read from the WAL. Sure, row changes are WAL logged, but that's not really related to MVCC.
If you're an Elixir user, you might find my library for subscribing to Postgres WAL events useful: https://github.com/cpursley/walex
It's a lot easier to operate than the typical debezium setup (which is what I think Airbyte uses behind the scenes).
I need to write a guide on how to use WalEx with Neon.
I don't have any first-hand experience with Postgres replication to share, just, when moving DB from MSSQL, Babelfish extensions for Postgres (https://babelfishpg.org/) may be of interest.
https://www.crunchydata.com/blog/an-overview-of-distributed-...
I don't know how expensive this would get, of course.
Is there realtime features with postgres?
It seem like a kludge to have to add redis, mqtt, or kafka to our application to get things as they change.
[1]: https://www.postgresql.org/docs/current/logical-replication....
Recently added the concepts of Destinations - where you can just configure it to send database change events to an Elixir module, webhook or EventRelay (the later two don't require Elixir know-how).
https://github.com/cpursley/walex?tab=readme-ov-file#destina...
Supabase does a great job of abstracting that part away with their real-time feature set
I should note: I haven't used Decodable in production yet, I'm just a fan of Flink :)