View previous topic :: View next topic
|
Author |
Message |
EnjoyMF
New User
Joined: 27 May 2005 Posts: 88
|
|
|
|
Hi,
I need to migrate data of a table from one database to the other database
Can some one tell me all the process/steps to be followed in the migration.
Thanks & Regards
prasad |
|
Back to top |
|
|
ragshere
New User
Joined: 20 Dec 2004 Posts: 70
|
|
|
|
Prasad,
what do you mean migration means...
Creating all the tables and views,aliases,indices in database to another database? copying the data from all tables in one database to tables in another database?
Thanks
Rags |
|
Back to top |
|
|
EnjoyMF
New User
Joined: 27 May 2005 Posts: 88
|
|
|
|
Hi ragsheree
thanks for the reply
i need to copy the table into different database, i can create under different owner
Can u plz help me Or give me the process/checklist to be followed
i.e u need to take image copy,runstats,reorg etc,
what are the conditions to be considered etc
Thanks a lot for the answer
prasad |
|
Back to top |
|
|
ragshere
New User
Joined: 20 Dec 2004 Posts: 70
|
|
|
|
Hi Prasad,
in case, if you are creating the table in another owner,
1. dump the DDL of tablespaces in database (one time for each tablespace) or dump the DDL of database at a time including the aliases and views,indexes using IBM supplied tools like ADBGEN .
2. modify the dumped datasets so that the the tablespaces will be created in new database. I mean change the database name and owner parameters. and execute them thru SPUFI.
3. unload the data using DSNTIAUL or UNLOAD utility from source table
4. load the data into target tables
Thats it..
Thanks
Rags |
|
Back to top |
|
|
|