IBM Support

QSYS2.SYSCOLUMNSTAT enhanced for variable length columns

News


Abstract

Database engineers (DBE) understand the importance of not taking the default value for the ALLOCATE clause on columns with a variable length data type.
With this advancement to SYSCOLUMNSTAT, the DBE can leverage built-in statistical detail when making a decision on whether or not to adjust the amount of space dedicated in the fixed portion of the record.

Content

You are in: IBM i Technology Updates > Db2 for i - Technology UpdatesDb2 for i Database Engineer (DBE) Enhancements > QSYS2.SYSCOLUMNSTAT enhanced for variable length columns

 

 allocate clause

Note: While it is commonplace for column statistics to exist for a column, they are not guaranteed to exist or be completely up to date.
Users can force the (re) population of column statistics: Refreshing the column statistics collection.

For complete detail, visit this IBM Documentation page: SYSCOLUMNSTAT

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CHeAAM","label":"IBM i Db2"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.4.0;7.5.0;and future releases"}]

Document Information

Modified date:
11 October 2022

UID

ibm16828127