Db2: reducing table and index size
Review the information for how to reduce the size of some database tables, and which files must be extended.
About this task
In nonsharded upgrade mode, you have the option of reducing the size of some database tables by converting CHAR/NOT NULL columns to VARCHAR/NULL columns. Whether or not you plan to convert these columns, you must extend the following files and edit the corresponding XML files:
SMCF_85_attribute_default_extn.xml.sample
SMCF_920_attribute_default_extn.xml.sample
YCD_920_tables_modifications.xml.sample
You cannot convert these columns in a sharded environment. Thus, if you want these columns converted and plan to move to a sharded environment in the future, you should perform this conversion as part of the nonsharded migration to Release 10.0.
If you are migrating from 9.3 (or later) to 10.0 on Db2, perform the following migration:
Note: If you upgraded to 9.3 (or later) and are now migrating to 10.0, the
SMCF_85_attribute_default_extn.xml.sample
file has already been extended and the
corresponding XML file modified. To maintain these changes, use the earlier release’s extended
file. However, if you want to make additional changes, such as converting CHAR columns that were not
converted earlier, re-extend the SMCF_85_attribute_default_extn.xml.sample
file, as
described in the following procedure.