How to Cut Magento 2 Admin Grid Load Times from 8 Seconds to Under 1
Slow Magento 2 admin grids can cost operations teams hours each week, with unoptimized order grids handling 50,000+ records firing 40 or more SQL queries and taking up to 10 seconds to load. The core causes include EAV-based table joins, lack of frontend caching, oversized default collections, and missing database indexes on commonly filtered columns. Developers can significantly improve performance by adding composite indexes on columns like status and created_at, and reducing the default grid page size from 200 to 20 records. Further gains come from hiding columns that trigger expensive lookups by default, and overriding data provider methods to strip unnecessary fields such as full address objects from grid rows. Enabling flat catalog tables can also replace costly multi-join EAV queries with faster single-table lookups, though this feature is deprecated for frontend use in Magento 2.4.6 and later.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in