IBM Support

MF65210 - LIC-DB-OTHER-PERFM PESSIMISTIC INDEX SCAN COSTING IS INFLATI

PTF ( Program Temporary Fixes ) Cover letter


Order this fix

Abstract

LIC-DB-OTHER-PERFM PESSIMISTIC INDEX SCAN COSTING IS INFLATI


Pre/Co-Requisite PTF / Fix List

REQ  LICENSED           PTF/FIX  LEVEL

TYPE PROGRAM  RELEASE   NUMBER   MIN/MAX  OPTION
---- -------- --------- -------  -------  ------
PRE  5770999  V7R2M0    MF64037   00/00    0000
PRE  5770999  V7R2M0    MF59873   00/00    0000
PRE  5770999  V7R2M0    MF59872   00/00    0000
CO   5770999  V7R2M0    MF65142   00/00    0000
CO   5770999  V7R2M0    MF65140   00/00    0000
CO   5770999  V7R2M0    MF65139   00/00    0000
CO   5770999  V7R2M0    MF64091   00/00    0000
CO   5770999  V7R2M0    MF63649   00/00    0000
CO   5770999  V7R2M0    MF63308   00/00    0000
CO   5770999  V7R2M0    MF61259   00/00    0000
CO   5770999  V7R2M0    MF59853   00/00    0000
DIST 5770SS1  V7R2M0    SI54674   00/00    0000



NOTICE:
-------
Application of this PTF may disable or render ineffective programs that
use system memory addresses not generated by the IBM translator,
including programs that circumvent control technology designed to limit
interactive capacity to purchased levels.  This PTF may be a prerequisite
for future PTFs.  By applying this PTF you authorize and agree to the
foregoing.

This PTF is subject to the terms of the 'IBM License Agreement for Machine
Code', the terms of which were provided in a printed document that was
delivered with the machine.

SUBJECT TO ANY WARRANTIES WHICH CAN NOT BE EXCLUDED OR EXCEPT AS EXPLICITLY
AGREED TO IN THE APPLICABLE LICENSE AGREEMENT OR AN APPLICABLE SUPPORT
AGREEMENT, IBM MAKES NO WARRANTIES OR CONDITIONS EITHER EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OR CONDITIONS OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON INFRINGEMENT,
REGARDING THE PTF.





APAR Error Description / Circumvention

-----------------------------------------------
Under some circumstances, including the use of a commit control
level of *CS (Cursor Stability), queries that specify ordering
may run slowly. The optimizer may over-estimate the cost of an
access plan that uses an index scan to provide ordering and may
choose a less efficient ordering method.

CORRECTION FOR APAR MA47191 :
-----------------------------
The optimizer was using pessimistic costing in situations in
which it was not appropriate.  The optimizer logic has been
improved to avoid using pessimistic costing for these
situations.

CIRCUMVENTION FOR APAR MA47191 :
--------------------------------
None.


Activation Instructions


None.




Special Instructions


None.


Default Instructions

THIS PTF CAN BE APPLIED IMMEDIATE OR DELAYED.



Supersedes

PTF/FIX NO(S).  APAR TITLE LINE
--------------  ------------------------------------------------------------
   MF65164      OSP-PAR-940XMISC NEED TO ACCOUNT FOR DELETED ROWS IN COSTING
   MF65141      LIC-DB-OTHER Allow duplicate keys in JSON_OBJECT and JSON_OB
   MF65066      OSP-DB-OTHER-INCORROUT UDTF - 'NO EXTERNAL ACTION'
   MF64948      OSP-DB-OTHER-F/DBOPAFFINITY-T/QQQOOODBOP-MSGMCH3203 A MSGMCH
   MF64891      LIC-DB-OTHER-INCORROUT JSON_ARRAYAGG AND JSON_OBJECTAGG TRUN
   MF64847      LIC-DB-PERFM INDEX PROBE I/O COSTING NOT ACCURATE CAUSES SLO
   MF64793      OSP-PERFM PERFORMANCE PROBLEM CAUSED BY BAD ACCESS PLAN.
   MF64752      LIC-DB-OTHER-F/HMDERIVEDHEAP-T/QQQOOODBOP-RCX/5094-MSGMCH320
   MF64655      LIC-DB-OTHER-INCORROUT XMLAGG gives incorrect null values fo
   MF64590      OSP-DB SELECT FOR UPDATE WITH RS UNSELECTED RECORDS ARE LOCK
   MF64475      OSP-DB-OTHER-F/DBSTMDPROXYCONTEXT-RCX'1720'-MSGMCH3203 SELEC
   MF64473      OSP-DB-OTHER-F/DBPMTRAP-T/QQQOOODBOP-RC1720-MSGMCH3203 RUNNI
   MF64346      LIC-DB-OTHER-INCORROUT Queries which use DECFLOAT columns fo
   MF64319      OSP-DB-OTHER-SAP400-THREADS-INCORROUT SELECT STMT WITH '=' ,
   MF64175      LIC-DB Internal Maintenance
   MF64158      LIC-DB-OTHER Internal Database Maintenance.
   MF64095      LIC-DB-OTHER Internal Database Maintenance.
   MF64040      LIC-DB Internal Maintenance
   MF62740      LIC-DB-INCORROUT OLAP with ORDER BY of LOB
   MF63807      LIC-DB-PERFM reduce data copies for SQL query
   MF63648      LIC-DB-PERFM reorder predicates based on selectivity
   MF63645      OSP-DB-OTHER-F/DBPMTRAP-MSGMCH3203 QRYDFN FAILS W/ MCH3203 F
   MF63579      LIC-DB-OTHER-PERFM COMPLEX QUERY IS BEING RE-OPTIMIZED UNEXP
   MF63550      LIC-DB-PERFM Not using EVI Only Access
   MF63547      LIC-DB-OTHER-UNPRED Grouping sets query fails when using an
   MF63465      OSP-DB-OTHER-MSGCPI0999 XMLAGG QUERIES MAY RESULT IN LARGE A
   MF63465      OSP-DB-OTHER-MSGCPI0999 XMLAGG QUERIES MAY RESULT IN LARGE A
   MF63423      LIC-DB-OTHER-PERFM Optimization time improvements for comple
   MF63326      LIC-OTHER-PERFM IMPROVE OPTIMIZER COSTING
   MF62065      LIC-DB-OTHER Increase database random Input/Output initial b
   MF63309      LIC-DB Internal Maintenance
   MF63285      LIC-DB-OTHER-PERFM LEFT OUTER JOIN QUERY PERFORMANCE
   MF63007      LIC-DB-PERFM VOLATILE TABLE IO Costing
   MF62909      LIC-DB-OTHER-F/DBPMTRAP-T/QQQOOODBOP-RC1720-MSGMCH3203 Outer
   MF62856      LIC-DB-OTHER-PERFM Queries with an RRN Scan over an Encoded
   MF62738      OSP-DB-OTHER-F/DBOPVARIABLECONTEXT-T/QQQOOODBOP-MSGMCH3203 M
   MF62633      LIC-DB Internal Maintenance
   MF62627      LIC-DB-OTHER Internal Database Maintenance.
   MF62421      LIC-DB-OTHER Internal Database Maintenance.
   MF62085      LIC-DB-PERFM Index Read Ahead when no RIO node
   MF61933      LIC-DB-OTHER-PERFM DBPMSERVER TASKS DRIVING HIGH DISK LOAD F
   MF61724      LIC-DB PERFM LONG RUNNING SQL QUERY WITH EVI ACCESS.
   MF61690      LIC-DB-OTHER Query fails to optimize with SMP
   MF61403      LIC-DB-OTHER-PERFM SQL query runs slowly due to index scan
   MF61263      LIC-DB-PERFM - EAO with Partitioned Tables
   MF61144      LIC-PERFM-PAR-940XMISC Bad Query Plan
   MF60796      LIC-DB-PERFM SQL Honor KEEPINMEM MEMORY_POOL_PREFERENCE for
   MF60786      OSP-OTHER-PERFM LONG OPTIMIZATION TIME DUE TO NUMEROUS UDFS/
   MF60742      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF60710      LIC-DB-OTHER-PERFM Slow query execution due to Index Distinc
   MF60682      LIC-DB-OTHER-UNPRED Internal Database Maintenance
   MF60633      LIC-DB-OTHER-PERFM Distinct query may use sub-optimal plan
   MF60565      OSP-DB-OTHER-F/DBPMFORMAT-T/QDBGETMQO-MSGMCH3203 A MSGMCH320
   MF60467      OSP-DB-PERFM  AVOID PLAN CACHE DUMP TOLERATED BADD DUE TO CO
   MF60353      F/ASSERT-MSGMCH3203-MOD/QQQOOODBOP QUERY WITH AGGREGATE FAIL
   MF59971      LIC-PERFM Distinct Query
   MF59890      LIC-DB-OTHER Internal maintenance
   MF59871      OSP-PAR-940XMISC OPTIMIZATION COSTING ENHANCEMENTS
   MF59857      LIC-DB-UNPRED Ensure order of partitions in partitioned tabl
   MF59528      LIC-DB-PERFM Preload for DinDistinctScan
   MF59138      LIC-DB-PERFM Enable Pessimistic IO costing for Index Probe a
   MF58956      LIC-DB-OTHER Internal Maintenance
   MF58956      LIC-DB-INCORROUT Distinct of LOB field
   MF58788      LIC-DB-OTHER Possible mapping errors querying a logical file
   MF58907      LIC-DB-OTHER-INCORROUT Queries involving field procedures ma
   MF58783      LIC-DB-OTHER Visual Explain may incorrectly report I/O cost
   MF58379      LIC-DB-MSGMCH3203 CONNECT BY when running SMP
   MF58319      LIC-DB Internal Maintenance
   MF58139      LIC-DB-OTHER-PERFM PRELOAD OF QUERY DATA SOURCES CAUSES PERF
   MF57948      LIC-DB Internal Maintenance
   MF57939      LIC-DB Internal Maintenance
   MF57903      LIC-DB 0600 BADD VLOG on Plan Cache Snapshot
   MF57705      LIC-DB-MSGMCH3203 Grouping Sets
   MF57852      LIC-DB Internal Maintenance
   MF57739      LIC-DB Internal Maintenance
   MF57620      LIC-DB Internal Maintenance
   MF64634      LIC-DB-OTHER-INCORROUT UDTF - 'NO EXTERNAL ACTION' with LOB

Summary Information

System.............................. i
Models..............................
Release............................. V7R2M0
Licensed Program............... 5770999
APAR Fixed.......................... View details for APAR MA47191
Superseded by:...................... View fix details for PTF MF65924
Recompile........................... N
Library............................. QSYS
MRI Feature ........................ NONE
Cum Level........................... C9123720


IBM i Support

IBM disclaims all warranties, whether express or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. By furnishing this document, IBM grants no licenses to any related patents or copyrights. Copyright © 1996,1997,1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 IBM Corporation. Any trademarks and product or brand names referenced in this document are the property of their respective owners. Consult the Terms of use link for trademark information.

Document information

More support for: i family

Software version: V7R2M0

Operating system(s): OS/400

Reference #: MF65210

Modified date: 14 September 2018