If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
All our databases created with the combination of DMS & SMS tablespaces with different set of containers for each TS. Now we are planning to change all the TS's to SMS and each TS spreaded all over the contaners. Can you advise me which way is best to complete this task? We have 70+ databases in development,integration and system test environments to do this.
I am not sure whether REDIRECT-RESTORE works for converting the TS's from DMS to SMS. Please clarify.
Redirected restore won't allow you to change tablespace types.
Unfortunatley the only way to do it is to
EXPORT
DROP
CREATE
IMPORT/LOAD
db2move may help you do this, or you can script it yourself.
Making it more annoying, as db2 drops your foreign keys and other dependencies when you drop the table... so you have to make sure you redefine those when you create it again. db2look is very useful for that, if you don't already have the ddl somewhere.
__________________
--
Jonathan Petruk
DB2 Database Consultant