Skip to Main Content
IBM Data and AI Ideas Portal for Customers


This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:


Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,


Post your ideas

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

IBM Employees should enter Ideas at https://ideas.ibm.com


Status Planned for future release
Workspace Db2 for z/OS
Created by Guest
Created on Jul 27, 2023

Allow more granular control over what SQL will result in Statistics Profiles updates

Unnecessary statistics can increase RUNSTATS collection elapsed and CPU time, sometimes exponentially, and impact BIND/PREPARE performance because the optimizer must read in all available statistics to determine what is and is not useful for each query.

Multi-column frequencies are only exploited by the optimizer for equal predicates containing literal values. These extra statistics would not be useful in systems with static SQL using host variables and dynamic SQL using parameter markers. Ad-hoc SQL that may contain literals that is infrequently submitted or submitted once results in Db2 automatically updating the statistics profiles with unnecessary RUNSTATS options.

We have observed unnecessary RUNSTATS options in the statistics profiles that do not support production SQL transactions. These additional options are directly attributable to ad-hoc SQL that was executed for one-time data analysis or other non-production functionality purposes. Ad-hoc SQL often has literal values while production transaction SQL will use a combination of literals, host variables or parameter markers. We need the ability to exclude the ad-hoc SQL from the statistics feedback and statistics profiles update processing. We need the ability to only include the production transaction SQL.

Within a given production Db2 subsystem there can be both static Db2 packages and dynamic SQL transactions supporting application functionality. The STATFDBK_SCOPE subsystem parameter does not have the required granularity to exclude ad-hoc SQL.

The STATFDBK_SCOPE (ALL, DYNAMIC, NONE, or STATIC) and STATFDBK_PROFILE (YES or NO) Db2 subsystem parameters control whether or not SQL statements are included in the SYSIBM.SYSSTATFEEDBACK catalog table and whether or not the statistics recommendations result in statistics profiles modifications. More granular control is necessary to either only include SQL executed by specific users or exclude SQL executed by specific users. For example, only include SQL executed by specific RACF users or RACF group ids. The enhancement should allow exclusions as well. If possible, the enhancement should allow wildcard characters.

Needed By Yesterday (Let's go already!)