DB2 - Problem description
Problem IC76770 | Status: Closed |
THE OPTIMIZER DOESN'T SELECT THE TABLE THAT EXISTS IN THE COORDINATOR NODE IN DPF FOR DYNAMIC SQL. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
Create database partition group grp0 dbpartitionnums (0). Create database partition group grp1 dbpartitionnums (1). Create database partition group grp2 dbpartitionnums (2...N). Create tablespace cat_ts ... group grp0... Create tablespace ts1 ... group grp1... Create tablespace ts2 ... group grp2... Create table T.T in ts1 Create MQT M.T in ts2 replicated. If connecting from any node from 2 to N, which doesn't have base table T.T but replicated MQT M.T, query optimizer should choose access plan to scan M.T. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * Create database partition group grp0 dbpartitionnums (0). * * Create database partition group grp1 dbpartitionnums (1). * * Create database partition group grp2 dbpartitionnums * * (2...N). * * Create tablespace cat_ts ... group grp0... * * Create tablespace ts1 ... group grp1... * * Create tablespace ts2 ... group grp2... * * Create table T.T in ts1 * * Create MQT M.T in ts2 replicated. * * * * If connecting from any node from 2 to N, which doesn't have * * base * * table T.T but replicated MQT M.T, query optimizer should * * choose * * access plan to scan M.T. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 UDB version 9.7 fixpack 6. * **************************************************************** | |
Local Fix: | |
Create tablespace replicate their MQTs across all the nodes except node 0 (catalog node). OR Changed TRANSFERRATE of TABLESPACE which has MQT table using alter tablespace. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in DB2 UDB Version 9.7 Fix Pack 6. | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC84477 IC84664 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 06.06.2011 11.06.2012 11.06.2012 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP6 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.6 |