DB2 - Problembeschreibung
Problem IC96472 | Status: Geschlossen |
IN A RARE SCENARIO, REPLICATED MQTS ARE NOT EXPLOITED TO IMPROVE PERFORMANCE OF QUERIES | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
In certain complex conditions using the Data Partition Feature (DPF), replicated MQTs are not exploited to improve performance of queries. The Extended Explain Information section of the db2exfmt output may show : Diagnostic Identifier: 2 Diagnostic Details: EXP0062W The following MQT or statistical view was not eligible because one or more columns or expressions referenced in the query were not found in the MQT: "<schema>"."<replicated mqt name>". The following is an example of the conditions required for this problem: 1. Queries contain EXISTS or IN subquery in the predicates, 2. The objects outside of the subquery in the queries are complex views, 3. The complex views reference tables in which there are replicated MQTs defined for those tables. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * all * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade the database server to v9.7 Fix Pack 10 or above * **************************************************************** | |
Local-Fix: | |
Rewrite the subquery to a semantic equivalent using GROUP BY clause e.g. IN ( SELECT DISTINCT COL FROM BASETABLE ) can be rewritten to : IN ( SELECT COL FROM BASETABLE GROUP BY COL ) | |
Lösung | |
This problem was first fixed in v9.7 Fix Pack 10 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC97348 IC97349 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 30.09.2013 08.12.2014 08.12.2014 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP10 | |
Problem behoben lt. FixList in der Version | |
9.7.0.10 |