Federated database query-compiler phases

In a federated database, there are additional steps that are taken by the query compiler. These additional steps are needed to determine which remote data sources to use to improve query performance. Global analysis on the federated database might result in information that can be used to optimize the federated environment overall.