Just like Fall means that wonderful colors will be added to our landscapes each year, a new IBM i Technology Refresh means new features in Db2 for i for you to leverage. New and enhanced function support is the primary benefit of this round of Db2 enhancements.
For
those of you create your own functions with SQL, you may be able to realize
better performance with your user-defined table functions (UDTF). Prior to this
latest round of enhancements, Db2 for i always generated the same cursor name
(i.e., SQL_TABLE_CURSOR) for every UDTF. This naming approach can cause a
cursor name collision when multiple SQL table functions are used within a
query. As a result, UDTFs often need to be defined with the FENCED option which
adds overhead to the function execution. The new cursor name generation
algorithm should allow the NOT FENCED option to be used in more cases enabling your UDTFs to run faster.
The MTI_INFO service has been a great addition to the Database Engineer (DBE) toolbox.
This service will now return a more complete set of information for Maintained
Temporary Indexes (MTIs) associated with a partitioned table by including the
partition name. Remember, IBM only
recommends the usage of partitioned tables when a table is close to the maximum
size or row limit for a Db2 for i table. Even in those cases, I strongly
encourage engaging the IBM Technology Expert Labs team to guide you in the table partitioning process
– the very large data sets that can be stored in partitioned tables come with
performance and management challenges that you will want to address with best
practices.
The ACTIVE_JOB_INFO service has always provided the ability to retrieve the statement text for
the SQL currently running in a job or that last ran in a job. This service has been
enhanced to also return the QRO Hash and Plan ID identifiers for the active SQL
request within a job. These identifiers make it easier to analyze the SQL
statement using the tooling provided by SQL Performance Center in the IBM i
Access Client Solutions (ACS) client.
These
are my highlights of some of the Db2 for i advancements in the latest IBM i TR,
so I’d encourage you to review the complete list on the IBM i Technology Updates wiki.
As a DBE, this is great information. As always, thank you Kent!
ReplyDelete