>>>>> 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