Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. 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
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


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.

Status Delivered
Workspace IBM i
Categories Db2 for i
Created by Guest
Created on Nov 30, 2017

SQL Plan Cache Filter option for Job

The Filters option in SQL Plan Cache has no option for entering job information like jobname and jobnumber. for analyzing the SQL Plan Cache and searching for the SQL statements initiated in that job, the searching takes much time and caused extra workload.


Use Case:

When investigating SQL performance issues time is essential for our users and as in most cases they are not aware of the SQL statements being executed, we are often looking for a needle in a haystack. The faster we can drill down the more efficient we are. As the job information is available adding this to the filter function is seems easy to add this extra filer option.


Idea priority High
  • Guest
    Reply
    |
    Sep 11, 2021

    IBM believes an enhancement delivered with IBM i 7.4 SF99704 Level 15 and IBM i 7.3 SF99703 Level 26 provides a solution to this request.

    The QSYS2.ACTIVE_QUERY_INFO table function provides information about queries actively running SQL. The active queries can be filtered by job name, job user, and job number. The list that is returned can be used to dump the specific plan details from the plan cache.

    See the following page for additional information: https://www.ibm.com/support/pages/node/6486899

  • Guest
    Reply
    |
    Apr 23, 2021

    IBM will use this request as input to planning but no commitment is made or implied. This request will be updated in the future if IBM implements it.

  • Guest
    Reply
    |
    Jun 8, 2019

    Hello Mark,

    In most case the job is no longer active. I think I understand what you are saying, but that is part of the problem. Would it not be easy if you had the option to search for a job in the Plan Cache at entry level? Now we first have to look at the data, filter through it and in the end we come to the conclusion that the information is not available. That is a waste of time, for both CPU and my time. So I am not asking to store more data, all I am asking for is a filter for a specific job from the start.

    I hope This helps in understanding why I am asking for this option. If not just let me know.

    Greetings Rudi

  • Guest
    Reply
    |
    Jun 7, 2019

    Rudi, can you provide a bit more information, please? Is the job you are interested in still active (and if active is it still using the statement) or is it already ended? The reason this is important is that if you are interested in jobs that have already ended, the job name you are looking for in the plan cache may not exist. We obviously cannot store an infinite number of historical jobs that have used the plan so if the job is ended, the information you are looking for in the plan cache may not be available.

  • Guest
    Reply
    |
    Sep 19, 2018

    Hello tduncan,

    Thanks for your suggestion, we did of course try that. The things is however that the basic starting point, when investigating an issue is a job. Every IBM i person knows that the starting point is a jobname, jobuser and jobnumber. We have a customer with over a 1 million SQL requests a day. So what you suggest is far from practical. All I am asking is the ability to filter at the highest level, instead of getting hundreds of rows and do the filtering myself. For me it feels wrong that I have to do the filtering, because what I suggest is less I/O intensive, especially for me.

    I do respect the CAAC's opinion. I hope someone of the CAAC gives the suggested solution of tduncan of try. Maybe that will change his mind. If not I can live with that.

    Greetings Rudi

  • Guest
    Reply
    |
    Sep 18, 2018

    The CAAC has reviewed this requirement and recommends that IBM not implement this request. Functionality is already there as described by tduncan in a previous comment below. It is also available for a single job in the job listing in Navigator.

    Background: The COMMON Americas Advisory Council (CAAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CAAC has a key role in working with IBM i development to help assess the value and impact of individual RFEs on the broader IBM i community, and has therefore reviewed your RFE.

    For more information about CAAC, see www.common.org/caac

    For more details about CAAC's role with RFEs, see http://www.ibmsystemsmag.com/Blogs/i-Can/May-2017/COMMON-Americas-Advisory-Council-%28CAAC%29-and-RFEs/

    Nancy Uthke-Schmucki - CAAC Program Manager

  • Guest
    Reply
    |
    Feb 19, 2018

    The CEAC has reviewed this requirement and recommends that IBM view this as a high priority requirement that should be addressed.

    This would make analysis much easier.

    Background: The COMMON Europe Advisory Council (CEAC) members have a broad range of experience in working with small and medium-sized IBM i customers. CEAC has a key role in working with IBM i development to help assess the value and impact of individual RFEs on the broader IBM i community, and has therefore reviewed your RFE.

    For more information about CEAC, see http://www.comeur.org/i4a/pages/index.cfm?pageid=3285

    Dawn May - CEAC Program Manager

  • Guest
    Reply
    |
    Dec 6, 2017

    The list can be sorted by job number, name, or user by clicking on the column at the top (or any other column as well). Sorting by job number makes it easy to scroll down to the job in question.