DB2 - Problembeschreibung
Problem IC64030 | Status: Geschlossen |
DB2EXFMT TAKES A LONG TIME TO COMPLETE ( 5+ HOURS) AFTER RUNNING A QUERY THAT LOADS THE LARGE AMOUNT OF DATA INTO EXPLAIN TABLES. | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
db2exfmt, with grapher (-g) option, takes a long time to complete ( over 5 hours) after running a query that loaded the large amount of data into explain tables. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * db2exfmt, with grapher (-g) option, takes a long time * * tocomplete ( over 5 hours) after running a query that * * loadedthelarge amount of data into explain tables. * **************************************************************** * RECOMMENDATION: * * Work around:1. First Create the following three * * indexes:CREATE INDEX OPR_I2 on * * EXPLAIN_OPERATOR(EXPLAIN_TIME,EXPLAIN_LEVEL, STMTNO, SECTNO, * * explain_requester,source_name,source_schema, source_version, * * OPERATOR_ID, operator_type,total_cost, io_cost)CREATE INDEX * * STRM_I2 on EXPLAIN_STREAM(EXPLAIN_TIME,EXPLAIN_LEVEL, * * STMTNO, SECTNO, explain_requester,source_name,source_schema, * * source_version, target_id, source_id,stream_count)CREATE * * INDEX ARG_I2 on EXPLAIN_ARGUMENT(EXPLAIN_TIME,EXPLAIN_LEVEL, * * STMTNO, SECTNO, OPERATOR_ID, argument_type)2. Then, for the * * at least those 3 explain tables, run'runstatson table * * xxx.explain_yyy and detailed indexes all' rightafterrunning * * query that loads large amount of data into thoseexplain * * tables. * **************************************************************** | |
Local-Fix: | |
Work around: 1. First Create the following three indexes: CREATE INDEX OPR_I2 on EXPLAIN_OPERATOR(EXPLAIN_TIME, EXPLAIN_LEVEL, STMTNO, SECTNO, explain_requester, source_name, source_schema, source_version, OPERATOR_ID, operator_type, total_cost, io_cost) CREATE INDEX STRM_I2 on EXPLAIN_STREAM(EXPLAIN_TIME, EXPLAIN_LEVEL, STMTNO, SECTNO, explain_requester, source_name, source_schema, source_version, target_id, source_id, stream_count) CREATE INDEX ARG_I2 on EXPLAIN_ARGUMENT(EXPLAIN_TIME, EXPLAIN_LEVEL, STMTNO, SECTNO, OPERATOR_ID, argument_type) 2. Then, for the at least those 3 explain tables, run 'runstats on table xxx.explain_yyy and detailed indexes all' right after running query that loads large amount of data into those explain tables. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows | |
Lösung | |
First fixed in DB2 UDB Version 9.7 Fix Pack 2 | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC67155 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 22.10.2009 25.05.2010 25.05.2010 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP2 | |
Problem behoben lt. FixList in der Version | |
9.7.0.2 |