There are a number of settings related to the Query Analyzer data. You can configure the Query Analyzer operation by using the configure query analyzer link within the Query Analyzer tab, or through the configure query analyzer button within the Manage Servers tab within the Settings tab. Both methods provide you with the same dialog:
Through either solution, the configuration options that you select are applied to the individual server or server group selected within the Serversnavigation panel.
There are three configuration options available through either method:
Enable Query Analyzer configures whether Query Analyzer is enabled for this server or server group. If selected, Query Analyzer will be enabled. To disable, select the check box.
The Query Analyzer functionality might show as being enabled on a server, even if the modules within MySQL Enterprise Agent supplying Query analyzer data are not enabled.
If Query Analyzer is enabled, you can also configure the Example Query function by selecting the Enable Example Query checkbox. Enabling this option provides an additional tab when you open the Canonical Query window when clicking a query.
Enable Example Query displays more information about individual queries. When enabled, queries and their data items (rather than the canonical form shown by default) are provided. Enabling this option could expose the full query statements and therefore could present a security issue.
With the Example Query option enabled, an additional tab is available within the query summary details. For more information, see Section 3.2.1, “Getting Detailed Query Information”.
If you enable Example Query, you can also enable Example Explain. To enable this tab, select the Enable Example Explain checkbox.
Enable Example Explain provides another
tab when viewing a query where you can view the output from
EXPLAIN output from MySQL for the selected
query. This shows the full query and how the query was
executed within the servers.
Enabling this option might add overhead to the execution of
your server, as the server runs an EXPLAIN
statement each time it identifies a long running query. For
more information, see Appendix F, MySQL Enterprise Monitor Frequently Asked Questions.
To enable or disable Query Analyzer for an individual server, go to the Settings tab and click the Manage Servers link. To configure all the properties, click the configure query analyzer link next to server you want modify.
Alternatively, for each server, the Query Analyzer column shows the current setting, On or Off, and whether the Example and Explain functionality is enabled. To change any setting, click the current status to toggle between the On/Off position.
To disable or enable Query Analyzer for the selected servers, use the disable query analyzer or enable query analyzer buttons within the Settings tab. You must have selected one or more servers from the list of available servers before selecting these buttons.
You can use the options that you have just selected as the default for all new servers that register with MySQL Enterprise Service Manager by using select the Make this the default for all new servers checkbox. By default, when a new server registers with MySQL Monitor, the server is automatically configured to supply Query Analyzer data. This can have impact on the performance of your monitor and agent as it increases the amount of information supplied to the MySQL Monitor.
Configuration of Query Analyzer occurs through the configure defaults button from within the Query Analyzer tab.
