Tag Archives: mysql database

The Ultimate Guide to MySQL Query Optimization

PHPMyAdmin MySQL Explain Analyze command for optimizing slow queries

At its core, query optimization comes down to one goal: Make the database read as few rows as possible.

If MySQL reads 300,000 rows to return 5 results, it is slow. If it reads 5 rows to return 5 results, it is lightning fast.

In The Developer’s Guide to Identifying Slow MySQL Queries, we covered the mechanics of finding your slowest queries using server logs and gave a brief introduction to the EXPLAIN command.

But once you’ve identified a slow query,

... Continue reading
Posted in Coding, Server Admin & Security | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

The Developer’s Guide to Identifying and Optimizing Slow MySQL Queries

Web developer optimizing MySQL queries

This tutorial will guide you through identifying, extracting, and analyzing your most problematic database queries using the command line on a WHM/cPanel server.

If you’re using UltimateWB for your backend, chances are you won’t need any of this. We optimize UltimateWB to run fast whether your website is small or large. But in case you need it - for example, if you are adding complex custom code or building a project from scratch - this guide has you covered.

Related:

... Continue reading
Posted in Coding, Server Admin & Security, Web Hosting | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment