Question

I have a problem with 2 databases that I have created on my local machine. I keep changing one of the database instances(say SID A) and the other instance(say SID B) is only changed once every 2-3 weeks. I want to find out all the changes that I have done on the local DB (Procedures, inserts, deletions, functions etc.) in SID A. Both the instances have 10 users, and the changes are present across all the 10 users.

I have tried to do a "diff" in sqldeveloper, but I end up getting a list of all the tables, procedures etc. - all to be created in SID B.

I have seen some tools, ready made scripts etc.

Is there a definite way that I am missing - I dont want to do a database export and import every time I want to migrate the changes.

Database: Oracle 10G

Thanks in advance for helping out.

Thanks, Contrib

Was it helpful?

Solution

One option is to use a tool like Red Gate's "Schema Compare for Oracle"; it's rock solid and will do exactly what you need it to, pretty much out of the box.

Before going down this sort of route though, I would suggest that you think about how you are deploying changes to your environments. For example, if you stored the incremental DML and DDL changes you made to schema A in source control, you could then play those in against schema B very easily.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top