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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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? |
| ||||
| 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 |