Unix Technical Forum

Migrate 4K Tablespace to 8K Tablespace in DB2 v8

This is a discussion on Migrate 4K Tablespace to 8K Tablespace in DB2 v8 within the DB2 forums, part of the Database Server Software category; --> What is the best practise to migrate all data in a 4K User tablepace to an 8K User tablespace ...


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, 01:43 PM
Otto Carl Marte
 
Posts: n/a
Default Migrate 4K Tablespace to 8K Tablespace in DB2 v8

What is the best practise to migrate all data in a 4K User tablepace
to an 8K User tablespace for DB2 v8.2.7?

The idea i am toying with is to interrogate the system catalog and
EXPORT all data that is in the 4K user tablespace in IXF format. Then,
IMPORT this data into an 8K user tablespace. Is there a better way?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 01:43 PM
Sam Durai
 
Posts: n/a
Default Re: Migrate 4K Tablespace to 8K Tablespace in DB2 v8

On Jun 5, 9:04 am, Otto Carl Marte <Otto.Ma...@gmail.com> wrote:
> What is the best practise to migrate all data in a 4K User tablepace
> to an 8K User tablespace for DB2 v8.2.7?
>
> The idea i am toying with is to interrogate the system catalog and
> EXPORT all data that is in the 4K user tablespace in IXF format. Then,
> IMPORT this data into an 8K user tablespace. Is there a better way?


Instead of Export/Import you may use cursor load to speed up the
process, but you need to have enough space to have 2 copies of table.

like db2 declare c1 cursor for select * from tab1_4K
db2 load from c1 of cursor insert into tab1_8K


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 08:21 PM.


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