I am working on a project which involved creating a "What if" scenario. That means we would like to run some simulations on another state of our database and then compare it to the main state / baseline. Also we can have multiple database state, created one from another. What would be the best approach in this case for creating database copies, then work with these copies in parallel?
Assuming I am using PostgreSQL.
I was thinking about multiple schemas for each state of the db, but I am not sure how to copy data from one schema to another, then how to pull data from 2 different schemas at the same time and do comparison?
Let me know if you have any other ideas in mind.
Thank you.