How can I convert BMC Classic Segmented Tablespaces to Universal Tablespaces (UTS) for DB2 V12, as IBM recommends? |
There is no mandatory requirement to use Universal Tablespaces in DB2 databases used by BMC products. They can continue being Segmented with no impact to the operation of BMC Products. However, if you want to follow the IBM's recommendation to use Universal Tablespaces, you can ALTER existing BMC Classic Segmented tablespaces using MAXPARTITIONS 5 clause. You can use a query like this to generate the required ALTER Statements: --#SET TERMINATOR @ SELECT 'ALTER TABLESPACE '|| RTRIM(DBNAME) ||'.'|| RTRIM(NAME) || ' MAXPARTITIONS 5;' FROM SYSIBM.SYSTABLESPACE WHERE DBNAME LIKE '%BMC%' -- Replace with a Search Condition for the -- names of BMC products databases -- used at your installation AND SEGSIZE > 0 -- Segmented TSs AND PARTITIONS = 0 -- Non-Partitioned AND MAXPARTITIONS = 0 -- Non-UTS AND NTABLES = 1 -- Single table TSs ORDER BY 1 @ In this query you would possibly just need to modify the search condition to list the databases used for BMC products in your installation. Important notes:
|