SunQuest
           DB2 Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDB2 Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old June 20th, 2005, 12:40 PM
mmansoor mmansoor is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2005
Posts: 1 mmansoor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 23 sec
Reputation Power: 0
Comparing DB2 Databases

Hi,

I have four DB2 v82 enterprise server (v81 fp11) databases that are all restores of the same backup image, housed on separate machines.

I ran some random statements on them (the same random statements were run against all of the databases, however).

The problem is that I do not have the log of the results of the random statement and I noticed that due to space issues on the machines, some of the statements may/may not have excecuted similarly accross all boxes.

The question I have is whether there is a way for me to see if the two database are exactly the same, that is they contain the same tables, indexes, procedures, the works.

I was thinking of doing md5checksums on all the files for the database in all the tablespaces and checking if any of the md5sums are different, but I am not sure if this is fool proof.

Any suggestions/help is greatly appreciated.

Thank you!

Mansoor

Reply With Quote
  #2  
Old July 1st, 2005, 09:04 AM
rbod rbod is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2005
Posts: 3 rbod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 13 sec
Reputation Power: 0
db2look

generate ddl using db2look on both the databases and compare the output.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDB2 Development > Comparing DB2 Databases


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway