Focal Point
MULTIPATH

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/8061078331

July 05, 2005, 07:50 PM
Håkan
MULTIPATH
The SET MULTIPATH=SIMPLE is supposed to give you the oppurtunity to screen on independent sets of data. It seems to work with Focus db, but when trying to implement it on DB2, it fails to return short paths.
We can get the desired results with SET ALL=ON, but the response time is not acceptable. Anybody has any idea? We're on WF 5.2.7 on IBM iSeries.

Tia
H�kan
July 05, 2005, 08:26 PM
Jim Morrow
H�kan

When FOCUS/DB2 performance gets too long. My first guess is FOCUS is doing the joins instead of having DB2 do the join. When This happens FOCUS often retrieves the entire contains of the DB2 tables.

Generally the quickest way to solve the problem is the SQL pass thought and extract just the data need from each table. The answer sets becomes hold files, and you can either join the hold files or use MATCH FILE.

You might might be able to avoid the MATCH/JOIN using a DB2 Outer Join in the SQL. But, these can take a long time to run.

Another approach is to have the DB2 performance guru review the SQL query generated by FOCUS. Then you try to figure out how to change the TABLE FILE to meet their recommendations.
July 05, 2005, 09:57 PM
GCohen
In WebFocus 7 you can specify a LEFT OUTER JOIN .
This will be passed to DB2 and all optimization will stay on.