View Single Post

   
  #3 (permalink)  
Old 02-26-2008, 03:44 PM
andreyp#Antispam@mapsitnA#e-vision-group.com
 
Posts: n/a
Default Re: database migration from Windows DB2 to Linux DB2

Hi,

2 utilities

db2look
db2move

with some underwater rocks.

ddl after db2look need to be parsed to :

- create db
- cfg db
- create bp (if you have tbs with page > 4K - restart db)
- create tablespaces
- create tables without any constrains

then

- load data (if you have tables with identity you need handmade load +
alter tables with autoincremental column for new start values)
- create table constrains, indexes, fk
- create summary tables

After that you need write simple script for create ddl for triggers, view
and fucntions which create its in right order(!!!).

Last stage - create sql procedures.


Andrew
www.it4profit.com

P.S. mail me if you have troubles.

Reply With Quote