Unix Technical Forum

Moving from windows to AIX

This is a discussion on Moving from windows to AIX within the DB2 forums, part of the Database Server Software category; --> Hello people, I have this requirement to move a DB2 V8 database from Windows 2000 to AIX V5.3. I ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:13 AM
DMina@laiki.com
 
Posts: n/a
Default Moving from windows to AIX

Hello people,

I have this requirement to move a DB2 V8 database from Windows 2000 to
AIX V5.3.
I have managed to do that for a small simple database using
export/import and db2look.
Now i have a database which has BLOB, CLOB, CHAR FOR BIT DATA, VARCHAR
FOR BIT DATA, or LONG VARCHAR FOR BIT DATA data types
and i found out that you cannot export/import these data types.

Do you know how else can i move these to the AIX server?

Thank you

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:13 AM
m
 
Posts: n/a
Default Re: Moving from windows to AIX

DMina@laiki.com wrote:
> Hello people,
>
> I have this requirement to move a DB2 V8 database from Windows 2000 to
> AIX V5.3.
> I have managed to do that for a small simple database using
> export/import and db2look.
> Now i have a database which has BLOB, CLOB, CHAR FOR BIT DATA, VARCHAR
> FOR BIT DATA, or LONG VARCHAR FOR BIT DATA data types
> and i found out that you cannot export/import these data types.
>
> Do you know how else can i move these to the AIX server?
>
> Thank you
>


Take a look at the db2move utility
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 08:13 AM
Mark A
 
Posts: n/a
Default Re: Moving from windows to AIX

<DMina@laiki.com> wrote in message
news:1149174561.319619.49930@g10g2000cwb.googlegro ups.com...
> Hello people,
>
> I have this requirement to move a DB2 V8 database from Windows 2000 to
> AIX V5.3.
> I have managed to do that for a small simple database using
> export/import and db2look.
> Now i have a database which has BLOB, CLOB, CHAR FOR BIT DATA, VARCHAR
> FOR BIT DATA, or LONG VARCHAR FOR BIT DATA data types
> and i found out that you cannot export/import these data types.
>
> Do you know how else can i move these to the AIX server?
>
> Thank you
>


You can export and load those data types, but you have to use special
modifiers in the export and load commands. These are documented in the
manual.

But as mentioned by someone else, using the db2move command is much easier
(it uses export and load to do the work, but generates the correct syntax
automatically).


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 08:13 AM
MY
 
Posts: n/a
Default Re: Moving from windows to AIX

I just went thru something similar.

During the export phase you will need to specify the paths where
db2move EXPORT will place your large data. Keep in mind that you can
put only 26000 files in each directory so you'd better add up all your
LOBs and create as many dirs as you need to store them. (num_dirs=
sum_of_blobs/26000 + 1)

Be careful if you have IDENTITY columns. In this case db2move LOAD or
db2move IMPORT might not work.


You may have to "db2 import ... modified by IDENTITY OVERRIDE ... "
for each exported table

In order for this to work you will have to create your database on the
destination server (see db2look)

Depending on the relations some of your tables will be in CHECK PENDING
STATE (you can check with 'db2 select name,status from sysibm.systables
where creator=YOUR_INSTANCE' and look for a 'C' in the status column.
To make those tables useable you will have to "SET INTEGRITY" to either
"IMMEDIATE CHECKED" or "NORMAL"


Mark A wrote:
> <DMina@laiki.com> wrote in message
> news:1149174561.319619.49930@g10g2000cwb.googlegro ups.com...
> > Hello people,
> >
> > I have this requirement to move a DB2 V8 database from Windows 2000 to
> > AIX V5.3.
> > I have managed to do that for a small simple database using
> > export/import and db2look.
> > Now i have a database which has BLOB, CLOB, CHAR FOR BIT DATA, VARCHAR
> > FOR BIT DATA, or LONG VARCHAR FOR BIT DATA data types
> > and i found out that you cannot export/import these data types.
> >
> > Do you know how else can i move these to the AIX server?
> >
> > Thank you
> >

>
> You can export and load those data types, but you have to use special
> modifiers in the export and load commands. These are documented in the
> manual.
>
> But as mentioned by someone else, using the db2move command is much easier
> (it uses export and load to do the work, but generates the correct syntax
> automatically).


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:32 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com