Query Monitor is a free WordPress plugin which provides concise insights about the performance of your site’s pages. It offers an in-browser dashboard which allows you to debug database queries, view PHP errors, see plugin/theme contributions, view API calls, and more.
The Query Monitor plugin is a great debugging tool for helping to determine the root cause of performance issues, namely those caused by themes, plugins, external services, and other site-level issues which might need to be addressed.
Alongside this, the plugin also gives insights into the server’s contribution to performance, making it a good tool to check if you believe the server is running into limitations as well.
First things first, be sure to install Query Monitor and activate it on your site.
Once the plugin is operational, a new block of numbers will appear within the WordPress admin bar at the top of the page. Hovering over them will give you a dropdown list of various sections within Query Monitor, while clicking on any of them will bring up the Query Monitor auditing window itself (which will dock to the bottom of your browser window by default).
Once inside Query Monitor’s dashboard, the default view will be of the Overview section, which outlines the page’s performance at a glance.
The main three areas to be aware of are:
The next most useful section is under the Queries tab, specifically the Queries by Component area. It breaks down the contributions to the page load by source, so it’s a great place to begin looking for slowness coming within the site itself.
You’ll be able to see Core (which is WordPress itself), as well as the names of each individual plugin and theme. You can click into each of the contributors to see more detailed information as well.
Another handy tool within Query Monitor is its ability to point you to PHP Errors, Warnings, and Notices to help debug potential issues within the theme/plugin code. If any are present, a new tab will appear named PHP Errors, which shows the “level” of severity, as well as what message the issue came along with and where the issue occurred.
The location of the issue helps to inform you of which area of the site the problem stemmed from. In the example above, the issue occurred in a theme named “twentytwenty” within the “footer.php” file on line 60.
The final tab this article will cover is the HTTP API Calls tab, which outlines any sort of POST/AJAX call which happened on the page. These can be useful in helping to determine if dynamic content on the page is holding up the page load at all.
This is most commonly seen with theme or plugins which rely on third-party services to provide information to the page, or if there are long-lived calls to the server itself to fetch new information to display. This can be a great tool for helping to determine if slow calls are the culprit behind a page’s poor performance.
If you have any questions our Happiness Engineers are here to help!
If you discover problems within Query Monitor itself, you can reach out to Query Monitor’s support team directly as well.
New to Flywheel? Start here, we've got all the information you'll need to get started and launch your first site!
View allLearn all about managing your Flywheel user account, Teams and integrations.
View allFlywheel hosting plans include a ton of great features. Learn about how to get a free SSL certificate, set up a staging site, and more!
View allAll the server and setting info you'll need to help you get the most out of your Flywheel hosting plan!
View allTips and tricks for managing your sites on Flywheel, including going live, troubleshooting issues and migrating or cloning sites.
View allLearn more about Growth Suite, our all-in-one solution for freelancers and agencies to grow more quickly and predictably.
Getting started with Growth Suite
Growth Suite: What are invoice statuses?
Growth Suite: What do client emails look like?
Learn more about Managed Plugin Updates, and how you can keep your sites up to date, and extra safe.
Restoring Plugin and Theme Management on Flywheel
Managed Plugin Updates: Database upgrades
Managed Plugin Updates: Pause plugin updates
We can help! Check out our Brand Resources page for links to all of our brand assets.
Brand Resources