The MySQL Enterprise Agent Aggregator supports an alternative method to the MySQL Enterprise Agent Proxy Service for communicating query data to the MySQL Enterprise Service Manager for use within the query analyzer. It is applicable for plugin components such as MySQL Enterprise Plugin for Connector/PHP, where many short-lived connections are difficult to monitor directly without introducing a performance or scalability bottleneck. These plugins relay query information from the corresponding connectors to the MySQL Enterprise Agent Aggregator.
The MySQL Enterprise Agent Aggregator collects and summarizes the raw query statistics from the connectors. It sends the resulting blocks of data up to MySQL Enterprise Service Manager along with the rest of the monitoring data collected by the MySQL Enterprise Monitor Agent. The following figure represents this layout.
Figure 1.4. The MySQL Enterprise Monitor Architecture when using aggregator and agent services for the same MySQL Server
The MySQL Enterprise Agent Aggregator is used only when collecting queries from the Enterprise Connector plugins. For more information, see Section 3.1.4, “Using the MySQL Enterprise Agent Aggregator”.