To fully understand the implementation of query management and processing in DB2® UDB for iSeries™ on i5/OS™ V5R2 and subsequent releases, it is important to see how the queries were implemented in releases of i5/OS previous to V5R2.
The figure below shows a high-level overview of the architecture of DB2 UDB
for iSeries before i5/OS V5R2. The optimizer and database
engine are implemented at different layers of the operating system. The interaction
between the optimizer and the database engine occurs across the Machine Interface
(MI).
The figure below shows an overview of the DB2 UDB for iSeries architecture on i5/OS V5R3
and where each SQE component fits. The functional separation of each SQE component
is clearly evident. In line with design objectives, this division of responsibility
enables IBM® to
more easily deliver functional enhancements to the individual components of
SQE, as and when required. Notice that most of the SQE Optimizer components
are implemented below the MI. This translates into enhanced performance efficiency.