473,320 Members | 1,926 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Moving data from UDB 7.1 to UDB 8.1


Folks,

I want to move the databases I have on a HP-UX system running DB2 UDB 7.2
to and AIX box running DB2 UDB 8.1. Because they are on different versions
and different OS I cannot backup on HP and restore on AIX.

Here is what I am thinking:

1) Run db2look utility on HP and get database definition.
2) Re-create database/tables on AIX
3) Stop application.
4) export data on HP in ixf format.
5) load data on AIX
6) Update client to udb 8.1 and point it to AIX system.
7) re-bind the packages.
8) Start application.

This will require significant down time for exporting and loading data,
even if I do one database at a time. I have one database per instance.

Is there a way to use replication to move the data between the systems?

I could re-create database on AIX, then turn on replication from HP to AIX.
once replication is complete:
1) I can stop the application upgrade the client to UDB 8.1
2) point it to the new database.
3) Stop replication.
4) re-bind packages.
5) start application.

This will only require atmost 1 hour of down time.

Is there a better way to move the data?

--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: No************@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
Nov 12 '05 #1
4 1890
This page mentions that you may be able to perform a cross-platform
restore:
http://publib.boulder.ibm.com/infoce...n/c0005960.htm

You may have an easier time if you upgrade the V7.2 instance to V8.2
first, but it may not be necessary. Fortunately, both scenarios can be
tested without taking production down.

I notice that the majority of APARs in each DB2 UDB FixPak seem to
address problems with replication, so if I had to perform such a
migration and was able to accomplish it with a cross-platform
redirected restore, I would jump on that option first.

Good Luck,

Fred

Nov 12 '05 #2
While stranded on information super highway Another DB2 UDB DBA wrote:
This page mentions that you may be able to perform a cross-platform
restore:
http://publib.boulder.ibm.com/infoce...n/c0005960.htm

Thanks.

Looks like db2move does the same thing I am trying to do.

You may have an easier time if you upgrade the V7.2 instance to V8.2
first, but it may not be necessary. Fortunately, both scenarios can be
tested without taking production down.

I notice that the majority of APARs in each DB2 UDB FixPak seem to
address problems with replication, so if I had to perform such a
migration and was able to accomplish it with a cross-platform
redirected restore, I would jump on that option first.

Good Luck,

Fred


--
Hemant Shah /"\ ASCII ribbon campaign
E-mail: No************@xnet.com \ / ---------------------
X against HTML mail
TO REPLY, REMOVE NoJunkMail / \ and postings
FROM MY E-MAIL ADDRESS.
-----------------[DO NOT SEND UNSOLICITED BULK E-MAIL]------------------
I haven't lost my mind, Above opinions are mine only.
it's backed up on tape somewhere. Others can have their own.
Nov 12 '05 #3
Be aware of constraints!
For example INSERT triggers should not be fired twice, generated
columns should not be generated again etc... Have you considered DB2's
federation options? Link your DB2 HP tables into the DB2 AIX database
and use LOAD FOM CURSOR for migration. You can easily generate the
appropriate commands via SQL

Joachim

PS: IMHO replication is not the way to go for this

Nov 12 '05 #4
I don't think that replication is a good option, as you will take much of
your time, registering EACH table from the previous db to the other one.
Anyway, replication will finally use ASNLOAD, a utility to load the data
into the target db.

It'll be much simpler to do with db2move.

irwan

Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: =?Utf-8?B?TW9iaWxlTWFu?= | last post by:
Hello everyone: I am looking for everyone's thoughts on moving large amounts (actually, not very large, but large enough that I'm throwing exceptions using the default configurations). We're...
1
by: =?Utf-8?B?UmljaA==?= | last post by:
In a database search application (vb2005), the user wants to be able to scroll through records using the mousewheel. The data display form contains textboxes for the main data and a datagridview...
0
by: SuzK | last post by:
I am trying to calculate in VBA in Access 2002 a moving average and update a table with the calculations. Fields in my WeeklyData table are Week Ending (date) ItemNbr (double) Sales Dollars...
0
by: amollokhande1 | last post by:
Hi All, Currently we are facing an issue while decoding the Base64Encoded unicode data. Here is the scenario We have one custom javascript function that encodes the unicode data using Base64...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.