How to compare data between two databases in PostgreSQL?

前端 未结 9 848
隐瞒了意图╮
隐瞒了意图╮ 2020-12-07 08:18

Is it possible to compare two databases with identical structure? Let say that I have two databases DB1 and DB2 and I want to check if there is a difference in data between

9条回答
  •  暖寄归人
    2020-12-07 08:55

    I created a tool to compare 2 live PostgreSQL databases(not dumps), table data and sequences. Pretty early days but achieved what I wanted it to do, maybe it can help you too.

    https://github.com/dmarkey/pgdatadiff

提交回复
热议问题