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 Not under consideration
Workspace Db2 for z/OS
Created by Guest
Created on Feb 24, 2020

I would like an easy way to validate that a bound query is used to hint a dynamic query

Today, it is easy to validate that a bound query is used as a hint to a static query.  After all, there is a column updated in PLAN_TABLE when the package is bound that exploits the bound query.

But, it becomes difficult to know if a dynamic query actually uses the bound query as a hint and/or to know if all the dynamic queries that were using the bound query as a hint are now no longer running.

It would be nice if either there was a new column (LASTUSED) placed on the SYSIBM.SYSQUERY table that would store the date that the query was used for a hint AND/OR it would be really nice if the DSN_STATEMENT_CACHE_TABLE were extended with an additional column that indicated that the row for the query used a bound query as a hint (there would be no need for a date here, because the CACHED_TS column would indicate when the hint was used.

We are using the REOPT(ONCE) option for our NULLID.* packages (basically, the connect driver packages).  There are times that we need to hint a query to the DEFAULT access path that would be used for host variables.  When I install one of these hints, it is rather hard to detect if the hint was actually used or if I just got lucky and the access path happened to be the DEFAULT access path.  Having a tracking mechanism for the use of one of these hints would help us to know that we did the right thing.

Also, sometimes the application changes a query that was once hinted.  We would really like to know when one of these hints is no longer used. 

Needed by Date Sep 30, 2020
  • Admin
    Janet Figone
    Reply
    |
    Dec 3, 2020

    Larry,

    Thank you for submitting this Idea to the Db2 for z/OS team. We have reviewed it and determined that, we will not be implementing this Idea. The strategic direction for Db2 optimizer development is to move away from the reliance on OPTHINTs as a way to override the access path decisions. Therefore, Db2 does not currently have plans to enhance the usability of hints and is instead focused on other solutions for improving the optimizer's decisions, and also the customer's ability to manage or override access paths.

    We encourage you to continue submitting your product enhancement ideas to our team for consideration.

    Sincerely,

    The Db2 for z/OS Development Team