473,406 Members | 2,956 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,406 software developers and data experts.

DB2 Migration

pkr
Hi,

In my shop, we have database in diverse platforms like mainframe,
Linux, Windows 2000. We are planning to consolidate all iDB in a single
platform and build one big monster DB, this monster DB is going be a
DB2 UDD V8, running on Linux server.
As a first step we are planning to migrate mainframe DB2 (v7) to Linux
DB2 UDB (V8).
I want to know the following
1. Are there any tools available for migrating the database from
mainframe to Linux box, there is not going to be any functionality
change during the migration?
2. What are the pit falls in migrating database from mainframe to Linux
(we have factored the processing power & storage size)

Thanks
R

Feb 19 '06 #1
7 3904
Hi,
what kind of mainfraime do you have? Is this an IBM zSeries mainframe?
What kind of operating system do you have on mainframe? zOS, VM, VSE,
Linux390?
In our company we have Linux390 (zSeries) and DB2v8.2fp10. We also have
DB2/VSE v7.2 and we are also planing to migrate to DB2/Linux390. I have
made general tests and on DB2/Linux it works about 5-times faster than
DB2/VSE. I haven't discovered out the feature that is supported on
DB2/VSE and is not supported on DB2/Linux390. The only thing I have
encountered to is the default settings for date definitions. On DB2/VSE
is ISO format of date, for example first of February 2006 is written as
2006-02-01, but on DB2/Linux computer there is date written as local
format. In Europe the default format is day-month-year example first of
February 2006 is written as 01.02.2006. So all the SQLs that are
executing against the date data fields must be checked. The general
'select date_column from table' isn't problematic, but 'select
substr(date_column,1,4) from table' returns different results on this
two databases. We are planing to solve the problem by rewritting SQLs
to 'select substr(char(date_column,1,4),ISO) from table' so all SQLs
that are using somekind of data field transformation will be converted
to ISO date format.

Hope this helps,
Grofaty

Feb 19 '06 #2
grofaty wrote:
Hi,
what kind of mainfraime do you have? Is this an IBM zSeries mainframe?
What kind of operating system do you have on mainframe? zOS, VM, VSE,
Linux390?
In our company we have Linux390 (zSeries) and DB2v8.2fp10. We also have
DB2/VSE v7.2 and we are also planing to migrate to DB2/Linux390. I have
made general tests and on DB2/Linux it works about 5-times faster than
DB2/VSE. I haven't discovered out the feature that is supported on
DB2/VSE and is not supported on DB2/Linux390. The only thing I have
encountered to is the default settings for date definitions. On DB2/VSE
is ISO format of date, for example first of February 2006 is written as
2006-02-01, but on DB2/Linux computer there is date written as local
format. In Europe the default format is day-month-year example first of
February 2006 is written as 01.02.2006. So all the SQLs that are
executing against the date data fields must be checked. The general
'select date_column from table' isn't problematic, but 'select
substr(date_column,1,4) from table' returns different results on this
two databases. We are planing to solve the problem by rewritting SQLs
to 'select substr(char(date_column,1,4),ISO) from table' so all SQLs
that are using somekind of data field transformation will be converted
to ISO date format.

Hope this helps,
Grofaty

Be careful about using performance comparisons based on this migration.
This is Linux on z and Linux on Intel/UNIX runs on different processors.

Larry Edelstein
Feb 19 '06 #3
pkr
Hi,

Thanks Larry & Grofaty.
We re migrating from mainframe platform to Intel platform. I hope DB2
UDB is same across platforms.
We need to migrate 100+ tables and 60+ stored proc, is there any tool
available?
Few of our tables have more than 50 million rows and taking a dump of
the table and migrating it to Intel platform would be a CPU intensive
activity. Is there any other efficient way of moving data.

Migrating SP wouldn't be a problem, we would copy the SP in Linux
platform and recompile it, but migrating data is a major concern.

Thanks,
R
Larry wrote:
grofaty wrote:
Hi,
what kind of mainfraime do you have? Is this an IBM zSeries mainframe?
What kind of operating system do you have on mainframe? zOS, VM, VSE,
Linux390?
In our company we have Linux390 (zSeries) and DB2v8.2fp10. We also have
DB2/VSE v7.2 and we are also planing to migrate to DB2/Linux390. I have
made general tests and on DB2/Linux it works about 5-times faster than
DB2/VSE. I haven't discovered out the feature that is supported on
DB2/VSE and is not supported on DB2/Linux390. The only thing I have
encountered to is the default settings for date definitions. On DB2/VSE
is ISO format of date, for example first of February 2006 is written as
2006-02-01, but on DB2/Linux computer there is date written as local
format. In Europe the default format is day-month-year example first of
February 2006 is written as 01.02.2006. So all the SQLs that are
executing against the date data fields must be checked. The general
'select date_column from table' isn't problematic, but 'select
substr(date_column,1,4) from table' returns different results on this
two databases. We are planing to solve the problem by rewritting SQLs
to 'select substr(char(date_column,1,4),ISO) from table' so all SQLs
that are using somekind of data field transformation will be converted
to ISO date format.

Hope this helps,
Grofaty

Be careful about using performance comparisons based on this migration.
This is Linux on z and Linux on Intel/UNIX runs on different processors.

Larry Edelstein


Feb 20 '06 #4
pkr
Sorry I forgot to mention, we are presently running on IBM zSeries
mainframe using Z/OS, we are migrating to Linux on Intel platform.

Feb 20 '06 #5
pkr wrote:
Sorry I forgot to mention, we are presently running on IBM zSeries
mainframe using Z/OS, we are migrating to Linux on Intel platform.

This might help:

http://www.redbooks.ibm.com/abstract...6905.html?Open

Larry Edelstein
Feb 20 '06 #6
>>>>> I hope DB2 UDB is same across platforms.

I'm afraid, not ... DB2 has 3 different flavours - DB2 zOS, DB2 LUW,
DB2 iSeries. Each one of these have their own feature set. Examples of
differences between LUW and ZOS :
a) The way you define tablespace and index space
b) The tablespace definitions
c) LOB columns on mainframe go on a table on their own. On LUW, they
are on the same table
d) ROWID is not a supported column type
e) Range Partitioning for Performance (partitioned tablespaces) on zOS
is not available in LUW
f) Some column options like COMPRESS etc is not available on LUW
g) LOAD is different

there are many more...

IMHO, moving data is the simplest among the lot. and believe me, 50
million is not very big.
Migrating SP wouldn't be a problem, we would copy the SP in Linux platform and recompile it, but migrating data is a major concern.
You will have to put in a bit of effort on Stored Procs as well ... It
is definitely not as easy as recompiling ... Some CREATE PROCEDURE
options may have to be removed .... (I have migrated SPs from LUW to
ZOS, which was a quiet a pain!! I guess zOS to LUW will be bit easier)

In short, do not underestimate the ease of migration from zOS to LUW!!
Few of our tables have more than 50 million rows and taking a dump of the table and migrating it to Intel platform would be a >>>CPU intensive activity. Is there any other efficient way of moving data.


For smaller tables (not more than a few hundred thousand records), I
would consider using LOAD from CURSOR. Even for larger ones, you may
test LOAD from CURSOR .. Though dependent on various factos, I would
think a 50 million record table in LOAD from CURSOR should be loaded
easily in an hour.

Cheers
Sathyaram

Feb 20 '06 #7

"pkr" <pk*****@yahoo.com> a écrit dans le message de
news:11**********************@g14g2000cwa.googlegr oups.com...
Sorry I forgot to mention, we are presently running on IBM zSeries
mainframe using Z/OS, we are migrating to Linux on Intel platform.


What version are you planning to use ? ESE or WSE ?
What would be the estimated total volume of your DB ? You might consider
using ESE with DPF, speaking of a huge DB.

HTH,

Jean-Marc
Feb 20 '06 #8

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

Similar topics

9
by: Paddy McCarthy | last post by:
Frustrated at being prevented from using Python at work I went gunning for Perl. Time to roll out some useless Google statistics to make me feel better Google Phrase count...
4
by: susmita_ganguly | last post by:
Hi I am trying to upgrade from oracle 8i to oracle 9i on the same server ..I don't know much abt migration . Can anyone help me out. Thanks. Susmita
11
by: Jep | last post by:
Any help or advice appreciated. We have just installed and configured a new DB2 v.8.1 with latest FixPack. Just a few days later it dies and now we have a DB that is totally unusable. - - - -...
4
by: Abram Friesen | last post by:
Hi, I'm a developer for a software application vendor, and our application makes use of a customer-maintained Oracle 8i/9i database. We've had a customer request to support DB2 database, and I'm...
1
by: sac | last post by:
I am using DB2 v8.1 on UNIX. A few weeks ago the DBAs carried out node migration activity on the database. After the node migration I observed that the queries that execute on temporary tables...
1
by: rob | last post by:
Dear All, I have a very small test project to convert asp to asp.net using the Microsoft/Artisan ASP to ASP.NET Migration Assistant...
1
by: Bonggoy Cruz | last post by:
We have a fairly big size ASP.NET web application that was written VB.NET. We are in the process converting the web project. We used the migration wizard included in VS 2005. I followed step by...
60
by: Shawnk | last post by:
Some Sr. colleges and I have had an on going discussion relative to when and if C# will ever support 'true' multiple inheritance. Relevant to this, I wanted to query the C# community (the...
9
by: Troels Arvin | last post by:
At work, some people have found IBM's Migration Toolkit (MTK) to be a nice tool for copying data from one table (in another DBMS product) to DB2. Now, they want to do the same thing from one DB2...
3
Frinavale
by: Frinavale | last post by:
I have been researching the best approach to migrating a VB6 application into a VB.NET application. There is a lot of information out there but most of it recommends that you "train in the migration...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.