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 > DB2 database validation

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-09-09, 05:05
dakiar dakiar is offline
Registered User
 
Join Date: Mar 2008
Posts: 4
DB2 database validation

Hello,

I am moving one database from one machine to another, what I want to do after this move is done, is to validate that all the data and tables are exactly the same in the new and old database, does anyone know of a good tool and or command to compare two DB2 databases.

Thanks,
Dak
Reply With Quote
  #2 (permalink)  
Old 10-09-09, 07:46
dr_te_z dr_te_z is offline
Registered User
 
Join Date: Jan 2009
Location: Zoetermeer, Holland
Posts: 555
What I did:
- run your reports. They must be the same
- random queries: bring everything back to numbers and summarize & compare (i.e. summarize all the "length of" some varchar columns). The result is nonsence, but shoud be exacly the same in both databases.
- smart "greps" on your extract & load reports. Exclude all good-messages until you are left with an readable error-report. I mean: exclude all "rejected 0" messages you you'll see if there are any rejected rows.
Reply With Quote
  #3 (permalink)  
Old 10-09-09, 10:25
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Are you using a back up image, or export/import? If it is backup image I would doubt you are going to have any problems. But like Dr_te said, run reports before and after.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
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