Quote:
|
Originally Posted by jazztune
Do you run the db2look on the source database server or the destination server?
|
db2look is executed on the source and will produce the whole schema in DDL format which can by executed on the target. I advice you to cut this in 2 halves. The upper part contains the "create table" and "create index" statements. The lower halve contian all the "foreign key constraints". So:
- run the upper part (i.e.import the schema)
- load all the data (do not matter in which sequence)
- run the lower part: this process will also check your data transfer.
Ready! Your data is transferred and checked.
This way of work will give you the oppertunity to check if you are still happy with your tablespace/bufferpool configuration(why not automatic storage for all you tables) This will be an unique oppertunity to make some changes by editing the "upper half" of your schema file.