Utility changes in Db2 12
You can use this information to plan for utility changes in Db2 12.
Utility changes in function level 501 and higher
The following changes take effect when you activate function level 501 or higher in Db2 12. The changes are listed in function level order with the highest at the top.
Function level | Utility | Change introduced | Incompatible change? |
---|---|---|---|
FL 507 | LOAD | If you specify the USE PROFILE option with inline statistics, Db2 deletes statistics that are not specified in the profile. | No |
FL 507 | RUNSTATS | If you specify the USE PROFILE option, Db2 deletes statistics that are not specified in the profile. | No |
Utility changes in function level 500
The following changes take effect when you activate function level 500 in Db2 12.
Utility | Change introduced | Incompatible change? |
---|---|---|
MODIFY RECOVERY | The following new options are added:
When MODIFY RECOVERY is run at the table space level, a SYSIBM.SYSCOPY row with ICTYPE='M' and STYPE='R' is inserted for each partition of the table space and any partitioned indexes with the COPY YES attribute that the MODIFY utility processes. This differs from previous versions where only one SYSCOPY record was inserted for the entire table space, regardless of partitions. |
No |
RECOVER | FROM | No |
REORG TABLESPACE | The following new options are added:
|
No |
TEMPLATE | The BLKSZLIM option is added. | No |
UNLOAD | The authorization checking is changed, so that Db2 no longer checks for the SELECT privilege on the tables being unloaded. | Yes |
Utility changes in function level 100
The following changes take effect when you migrate to function level 100 in Db2 12.
Utility | Change introduced | Incompatible change? |
---|---|---|
BACKUP SYSTEM | New options:
|
No |
CATMAINT | New option: LEVEL. (Specify a function level or catalog level. If you specify a function level Db2 determines the appropriate catalog level.) | No |
CATENFM | With the introduction of single-phase migration in Db2 12, the CATENFM utility is not needed for the migration process and is removed. | No |
DSN1COMP | New options:
|
No |
DSNJU008 (print CDDS) | New utility. | No |
DSN1LOGP | New option: PART. | No |
DSN1PRNT | New option: PART. | No |
LOAD | The following new options are added:
The following options are changed:
The LOAD utility now always maintains the value of MAXASSIGNEDVAL in SYSIBM.SYSEQUENCES for any loaded identity columns. The RRF subsystem parameter is removed, and the default behavior is RRF=ENABLE, which means that:
|
Yes |
REBUILD INDEX | The following new options are added:
For inline statistics, if you specify the FREQVAL keyword and omit the COUNT keyword, Db2 automatically determines the number of frequently occurring values to collect so that the data distribution is no longer skewed. |
No |
RECOVER | The following new options are added:
|
Yes |
REORG INDEX | The following new options are added:
For inline statistics, if you specify the FREQVAL keyword and omit the COUNT keyword, Db2 automatically determines the number of frequently occurring values to collect so that the data distribution is no longer skewed. |
No |
REORG TABLESPACE | The following new options are added:
For inline statistics, if you specify the FREQVAL keyword and omit the COUNT keyword, Db2 automatically determines the number of frequently occurring values to collect so that the data distribution is no longer skewed. The REORG utility processes now partition-by-growth table spaces differently than in prior versions:
In addition to the REORG changes for processing partition-by-growth table spaces, REORG in Db2 12 will fail if it is using a FlashCopy and the creation of the online FlashCopy image fails. Also, for REORG TABLESPACE, when SHRLEVEL REFERENCE or SHRLEVEL CHANGE is specified and blocking claimers are encountered, the DISPLAY DATABASE command output will now identify the blocking claimers on each and every drain attempt failure. In prior versions, only the most recent drain attempt failure was identified. Also, the format of mapping tables has changed to accommodate the 7-byte RIDS that are needed for partition-by-range table spaces with relative page numbering. Also, the RRF subsystem parameter is removed, and the new default behavior is RRF=ENABLE, which means that:
SORTNPSI YES is changed so that when you specify this option, non-partitioned secondary index (NPSI) keys are sorted. |
Yes |
REPAIR | The following new options are added:
Changed option: The VERSIONS option is no longer supported, and is replaced by the CATALOG option. |
No |
RESTORE SYSTEM | The following new options are added:
RESTORE SYSTEM now fails if either of the following situations occur:
|
Yes |
RUNSTATS | The following new options are added:
RUNSTATS now collects frequency and histogram statistics for XML indexes in the following catalog table columns:
Db2 can use frequency and histogram statistics for XML indexes to estimate the filter factor of XMLEXISTS predicates when the following conditions are true:
For more information, see Collection of statistics on XML objects. |
No |
UNLOAD | The following new options are added:
|
Yes |
For information about the new options, see the information for the utility. For information about an option with a changed default value, see Utility release incompatibilities.