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,
Post an idea
Upvote ideas that matter most to you
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
See this idea on ideas.ibm.com
We feel the design is flawed and strongly feel this is a bug.
The only time a non-matching index scan should be considered versus the tablespace scan is when it can at least filter the result somewhat. There are ZERO columns in the index that match any of the columns in the WHERE predicate.
Here's the index definition:
CREATE UNIQUE INDEX D761BB.IZPKG1
ON D761BB.TZPKG
(TBL_PTN_NR ASC,
PKG_TCK_NR ASC,
CNY_CD ASC,
PSL_CD ASC,
DAT_TYP_CD ASC)
USING STOGROUP G761SG1
PRIQTY 7200 SECQTY 7200
ERASE NO
FREEPAGE 5 PCTFREE 10
GBPCACHE CHANGED
CLUSTER
COMPRESS NO
INCLUDE NULL KEYS
BUFFERPOOL BP4
CLOSE NO
COPY NO
DEFER NO
DEFINE YES
PIECESIZE 2 G;
COMMIT;
Here's the query:
SELECT TBL_PTN_NR , PKG_TCK_NR , CNY_CD , PSL_CD , DAT_TYP_CD ,
REC_INS_TS , REC_UDT_TS , REC_PRG_IR , PKG_CLA_LST_PU_DT ,
PKG_DEL_ATP_NTF_CD , DEL_NTC_NR , CNS_NA , STP_POL_DIV_2_NA ,
STP_POL_DIV_3_NA , STP_BDG_FLR_NR , STP_RM_SUT_NR , STP_STR_NA ,
STP_STR_NR , STP_STR_PFX_NA , STP_STR_SUF_NA , STP_STR_TYP_CD ,
STP_PSL_1_CD , STP_PSL_2_CD , SUC_CAL_IR , LOC_ID_CGY_CD ,
LOC_ID_VLU_TE , RMK_TE
FROM D761BB.TZPKG
WHERE REC_PRG_IR <> 'Y' -- not in index
AND PKG_DEL_ATP_NTF_CD NOT IN ( ' ' , '97' ) -- not in index
AND REC_UDT_TS >= CURRENT TIMESTAMP - :H HOURS -- not in index
AND SUC_CAL_IR IN ( 'N' , ' ' ) -- not in index
AND RMK_TE <> ' ' WITH UR -- not in index
How can the non-matching index path even be considered since it would need to go to the entire tablespace scan to satisfy the WHERE predicates? Awaiting your feedback, please. Thank you.
Steven Di Spigna
Needed By | Yesterday (Let's go already!) |
By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.
Dear Ken,
Thank you for submitting this Db2 for z/OS enhancement request. We have reviewed this request and believe changing behavior for VOLATILE tables would result in some incompatibilities. A new table attribute could be introduced, but we would first like to see if more customers would be interested in this. Therefore, unfortunately, we will not be considering this idea at this time, but the idea can still be voted upon if more customers would find a new table attribute beneficial to them. we would then revisit the prioritization of this idea.
We appreciate your input to the Db2 for z/OS development team. We hope that you will continue to submit enhancement suggestions for improvements as customer feedback is a key component to shaping the future direction of Db2 for z/OS.
Sincerely,
Db2 for z/OS Team