Finding and fixing slow database queries in Laravel
EXPLAIN plus the right composite index fixes most slow pages. The rest is usually a query that returns more rows than the page nee...
A
Admin
Practical writing about Laravel, PHP, WordPress, performance and running maintainable systems in production.
EXPLAIN plus the right composite index fixes most slow pages. The rest is usually a query that returns more rows than the page nee...
Specified key was too long, index name conflicts and missing privileges are the three migration failures that only appear on cheap...
N+1 queries are the most common cause of a slow Laravel page, and the fix is usually one with() call. Here is how to find them and...