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 Functionality already exists
Workspace IBM i
Categories Db2 for i
Created by Guest
Created on Jun 3, 2023

For queries requiring table scan agsinst of large, 100,000,000+ row tables, split the query into multiple threads based on a percentage of total table pages

WHY:  Improved one off query performance against large, 100,000,000+ row tables.  

WHO:  My customer has transaction log tables that can record millions of transactions per day.  Peaking just above 58 million per month in the last 6 months.  Maintaining indexes to satisfy infrequent query request would be a waste of storage and other system resources.  Records are purged that are older than 12 months and re-use deleted records is employed. 

HOW:  For queries that require a table scan, generate query threads based on a physical page ranges as a percentage of the total table pages.  Add a System Value for Table Scan Scale, with scale being the percentage of total table pages.  Default set at 10%, generates 10 separate query threads, with the results consolidated before presentation to user.  The lowest value being 5%, or a maximum of 20 threads scanning the table pages to satisfy the user’s query.

Idea priority Low
  • Guest
    Reply
    |
    Jun 27, 2023
    BM believes that the solution for the Idea described is satisfied with Db2 Symmetric Multiprocessing (SMP).

    With this technology, the query optimizer implements a query by running pieces of it in parallel. While the user can influence the degree of parallelism, the optimizer determines the actual implementation.

    This feature is packaged as option 26 of the operating system and is available at no charge.

    This IBM Documentation page describes many of the details.
    https://www.ibm.com/docs/en/i/7.5?topic=tools-parallel-processing