A database of MYSQL is migrated to Postgres. I need to check whether all the data records have been transferred correctly. Is there a way I can compare the contents of the two tables residing in two different RDBMS?
-
Export the table from both servers to text files of the same specification and definite rows ordering. Compare.Akina– Akina2022-12-16 10:56:28 +00:00Commented Dec 16, 2022 at 10:56
-
You can use mysql_fdw and compare each table one by one using a generic sql. Most probably, the operation will be slowSahap Asci– Sahap Asci2022-12-16 21:35:58 +00:00Commented Dec 16, 2022 at 21:35
Add a comment
|