There are two phases of query processing: query planning and query execution.
The query planning phase occurs during compile-time. The query execution phase
occurs during runtime.
Figure 1 shows
the flow of query processing in a federated system during compile-time and
runtime.
Figure 1. Federated query processing
flow