Latest months I am working with PostgreSQL while coming from Microsoft world (SQLServer). My scenario is the following:
- Transfer data from different databases into single one (same set of tables and structure)
- Perform lightweight transformations (some simple joins, groups, sums and divisions)
The first part of transferring in real-time between PostgreSQL databases can be achieved using Logical Replication, especially in PostgreSQL 15 where you can select subset of columns of the tables.
For the second part there is the Incremental Materialized View extension for PostgreSQL, but this is currently supporting only Inner-Joins and does not work with Logical Replication, while having lot of other limitations. In addition is not yet implemented on Azure Managed Instances...
Any ideas of how we can archive the second goal?