With MQTs built by the Optimization Advisor, the data access used is described
in Figure12-35.
Figure 12-35 With MQTS: DB2 explain result
The Access Plan Graph of the query is simple; The MQT MQT0000000001T01
has been used to retrieve all the information.
The response time of “Refresh report” action is short in this case, thanks to the
MQT. In this case less than 4 seconds were needed for refreshing this report, of
which most can be attributed to system and network latency.
12.4.2 Query 2
Query 2 addresses the business question:
What are the most Profitable Consumer Groups buying (Level 1 of product)?
The report
The repor ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.