http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=130710
We are working with OBJECT_CREATE_FORMAT=EXTENDED and with UTILITY_OBJECT_CONVERSION=NOBASIC for a long time without any problem.
In the last time we began to work with these parameters in other DB2's that include many tables with XML columns. The REORG of the entire auxiliary tablespace(as it must done) increase the length of START_TS and END_TS columns in the xml table. We understand it done because of the extend of the RBA. The REORG also upgrade the CURRENT_VERSION of the xml auxiliary tablespace. We believe it done because of the increase of the length of START_TS and END_TS columns.
Until here, there isn't any problem for us.
We are using utilities "like" DSN1COPY for copy the tables including the xml tables. We know how to deal with the DOCID and SYSXMLRELS table. When we try to copy base table with xml column and it's corresponding xml table from source db2 to target db2, we have problem when there is difference between the CURRENT_VERSION of the xml auxiliary tablespace. in regular tables, we are using REPAIR CATALOG TABLESPACE command, but for xml auxiliary tablespace, we get message DSNU068I. This situation can happen when the table in the source was created with OBJECT_CREATE_FORMAT=EXTENDED and the table in the target was created with OBJECT_CREATE_FORMAT=BASIC and was converted to EXTNDED RBA by REORG. Of course, the opposite situation is also problematic.
The solution of create the tables with BASIC and the convert them to extended is not applicable for us, because we always create new xml tables and want to copy form an old xml table with CURRENT_VERSION=1 and the changes of OBJECT_CREATE_FORMAT from EXTENDED to BASIC all the time is not good and risky.
The option to use UNLOAD/LOAD is not a good solution also because o:
1) We copy tha data many time per a month.
2) We have many xml tables.
3)In general, the width of xml is big, so unload load take a lot of time.
So, as we understand the options, the only good solution is to allow REPAIR CATALOG TABLESPACE command for xml auxiliary tablespace.
use Case:
We are working with OBJECT_CREATE_FORMAT=EXTENDED and with UTILITY_OBJECT_CONVERSION=NOBASIC for a long time without any problem.<br/><br/>In the last time we began to work with these parameters in other DB2's that include many tables with XML columns. The REORG of the entire auxiliary tablespace(as it must done) increase the length of START_TS and END_TS columns in the xml table. We understand it done because of the extend of the RBA. The REORG also upgrade the CURRENT_VERSION of the xml auxiliary tablespace. We believe it done because of the increase of the length of START_TS and END_TS columns.<br/><br/>Until here, there isn't any problem for us.<br/><br/>We are using utilities "like" DSN1COPY for copy the tables including the xml tables. We know how to deal with the DOCID and SYSXMLRELS table. When we try to copy base table with xml column and it's corresponding xml table from source db2 to target db2, we have problem when there is difference between the CURRENT_VERSION of the xml auxiliary tablespace. in regular tables, we are using REPAIR CATALOG TABLESPACE command, but for xml auxiliary tablespace, we get message DSNU068I. This situation can happen when the table in the source was created with OBJECT_CREATE_FORMAT=EXTENDED and the table in the target was created with OBJECT_CREATE_FORMAT=BASIC and was converted to EXTNDED RBA by REORG. Of course, the opposite situation is also problematic.<br/><br/>The solution of create the tables with BASIC and the convert them to extended is not applicable for us, because we always create new xml tables and want to copy form an old xml table with CURRENT_VERSION=1 and the changes of OBJECT_CREATE_FORMAT from EXTENDED to BASIC all the time is not good and risky.<br/><br/>The option to use UNLOAD/LOAD is not a good solution also because o:<br/><br/>1) We copy tha data many time per a month.<br/><br/>2) We have many xml tables.<br/><br/>3)In general, the width of xml is big, so unload load take a lot of time.<br/><br/>So, as we understand the options, the only good solution is to allow REPAIR CATALOG TABLESPACE command for xml auxiliary tablespace.