If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Complete Schema Compare

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-23-09, 11:51
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Complete Schema Compare

Hi All,

I need to compare schema in two DBs at workplace.

Can someone send me a script or utility or any documentation to compare schema in both databases.

Thanks
DBFinder
Reply With Quote
  #2 (permalink)  
Old 07-23-09, 13:51
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
You can use db2look to compare the DDL, -z option to specify the schema name.
Reply With Quote
  #3 (permalink)  
Old 07-24-09, 04:23
aflorin27 aflorin27 is offline
Registered User
 
Join Date: Apr 2008
Location: Iasi, Romania
Posts: 317
ChangeManager:
Database Change Management Software | Change Manager

and they now have 30 days trials.
__________________
Florin Aparaschivei
Iasi, Romania
Reply With Quote
  #4 (permalink)  
Old 07-24-09, 09:44
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Quote:
Originally Posted by aflorin27
ChangeManager:
Database Change Management Software | Change Manager

and they now have 30 days trials.

They have 14 days trial.

I tried change manager which is piece of scrap.
After 33 minutes run it tells me that the tables do not exist on target.

I uninstalled it and now trying Schema Examiner.

If you have tried Change Manager successfully, Can you help generating Tables Comparasion report.
I tried my best since yesterday, it seems that I wasted time . The report was due this afternoon.


DBFinder
Reply With Quote
  #5 (permalink)  
Old 07-24-09, 09:50
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
TOAD for DB2, Aqua Data Studio, and the IBM Rational Data Architect all have this feature. Of the three, I know for sure Aqua has a free trial. The Rational software used to have one, but they may have dropped it.
Reply With Quote
  #6 (permalink)  
Old 07-24-09, 09:52
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Thanks,

I am just searching Aqua
Reply With Quote
  #7 (permalink)  
Old 07-24-09, 18:09
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Aqua data studio worked well.

The report generated is in unicode html. SQLs could not be cut and pasted because it gives extra characters when pasted in plain text editor.
Otherwise comparison was good
thanks
Reply With Quote
  #8 (permalink)  
Old 07-24-09, 21:36
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
What exactly does Aqua data studio do? Based on aquafold.com, it just compares DDL.
Reply With Quote
  #9 (permalink)  
Old 07-25-09, 20:59
DBFinder DBFinder is offline
Registered User
 
Join Date: Sep 2008
Location: Toronto,Canada
Posts: 606
Bella,

Among many things it does, I only compared two Schemas in different DBs ( which we expect to be same or similar).

The report was nice (actually I compared only table and table related objects) in HTML format along with Sync SQL to sync table structures etc.

It was Unicode HTML format and SQL cut and paste inserts some odd characters in text. Over all Tables Compare was useful.

I will try to see what else it can do for a dba, this Monday.

DBFinder
Reply With Quote
  #10 (permalink)  
Old 09-01-09, 05:13
Dosihris Dosihris is offline
Registered User
 
Join Date: Aug 2009
Posts: 9
Can anybody tell me, whether Aqua data studio creates an update script? So i want to compare Schema1 and Schema2 and i need a script that updates Schema1 to exactly the Schema2 without loosing the data in Schema1...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On