I need to move a table with its data from tablespace 16bit to 32bit in db2, how to do it?
I have read many articles but they are very confusing, table space creation is going to be handled by someone else, I just need to migrate data from previous table space to new one.
I have read about
ADMIN_MOVE_TABLE
but I couldn't figure out,
- Where we are supposed to execute this command, in the new table space or the old one?
What are 'index_tbsp' and 'lob_tbsp' (4th and 5th parameter of command).what I learnt is they are 'tablespace to storage indexes' and 'tablespace to storage long data' respectively , but
are they mandatory?
and where I can find their names?
are they of new table space or the old one?
- Most importnat, is this command really the one for what I intend to do, that is, migration of data from 16bit tablespace to 32bit tablespace?
All the help would really be appreciated.