Search code examples
sqlpostgresqlchange-data-capture

Does PostgreSQL provide Change Tracking feature similar to SQL Server change tracking?


Does PostgreSQL provide change tracking feature like that on SQL Server. this is what I basically want. I want to move my data after few minutes intervals to other database. for this I just want to fetch changed data only in PGSQL through change tracking like that of SQL Server change tracking. What is the best way to achieve this?


Solution

  • It's not so easy with PostgreSQL. You can use WAL’s aka Write Ahead Logs or triggers. May be the best approach will be using a external library like https://debezium.io