The EXPLAIN command is one of MySQL’s most useful
tools for understanding query performance. When you
EXPLAIN a query, MySQL will return the plan created
by the query optimizer. It also shows you how that query will be
indexed and an estimate of how many rows are processed by that
query. From this information, it is easy to see if your queries
are taking advantage of table indexes or if you can change them
for some extra performance. VividCortex provides a lot of
information on query performance, including samples of the
queries that are run against your database. Now, those samples
will have EXPLAIN data for them too!
So what does the EXPLAIN feature look like in
VividCortex? Here’s a screenshot to illustrate:
Those who are familiar with our application will recognize the query-drilldown view. Each of the dots in the scatterplot represents a sample for the selected query, …
[Read more]