DB2 v8 for z/OS
Data for each employee is spread across 12 tables.
We are accessing 12 tables with each table having from zero to one row per employee, except the first table has a required row for each employee.
What is the percentage of improvement if we do a JOIN of all 12 tables using
LEFT OUTER JOIN
vs. coding 12 singleton SELECTs ?
What if we have 5 tables in the above example ?
Data for each employee is spread across 12 tables.
We are accessing 12 tables with each table having from zero to one row per employee, except the first table has a required row for each employee.
What is the percentage of improvement if we do a JOIN of all 12 tables using
LEFT OUTER JOIN
vs. coding 12 singleton SELECTs ?
What if we have 5 tables in the above example ?
Comment