This may help:
Review your MySQL settings in phpMyAdmin—look for any values in red and address them.
- Adjust key variables like innodb_buffer_pool_size, query_cache_size, and max_connections to recommended levels.
- Enable the slow query log temporarily to find slow queries, then disable it once finished.
- Monitor and adjust settings regularly as your traffic and database grow.
- Consider upgrading to faster storage (NVMe SSD), stronger hosting, or newer software.
- For intensive tasks (like combinations generation), have a developer review and update these processes to run from the command line (CLI) instead of the web interface. This avoids PHP limits and dramatically improves performance.
How to Check MySQL Database Settings Using phpMyAdmin
- Log in to phpMyAdmin from your hosting control panel.
- Select your database in the sidebar.
- Click the “Variables” tab at the top to see MySQL settings.
- Look for values in red—these highlight settings below recommended levels.
- innodb_buffer_pool_size: Should be 60–80% of server RAM for dedicated databases.
- query_cache_size: 32–128MB for MySQL 5.7 or lower; zero for MySQL 8.0+.
- max_connections: 100–300, depending on traffic and available RAM.
- slow_query_log: Enable temporarily to find slow queries, then turn off.
Monitor these values regularly and adjust as needed.
Depending on your hosting (shared, VPS, or dedicated), you may need to request changes from your provider.
PrestaShop 1.7.6.x has known issues with slow combination generation—especially with products having many attributes/values. This is mostly due to inefficient PHP logic, lack of batching, and sometimes database design.
- Later PrestaShop versions (1.7.7.x, 1.7.8.x, and 8.x) introduced several performance fixes for the combination generator:
- More efficient algorithms to generate combinations.
- Improved JavaScript handling for large attribute sets in the admin.
- Reduction in redundant database calls during generation.
- Better handling of saving/updating combinations in bulk.
- PrestaShop 8.x continues these improvements, and the new combination generator is significantly faster and more reliable for catalogs with thousands of combinations.
Additional Tips
- Use NVMe SSD hosting for faster database performance.
- Upgrade your application to the latest version for improved efficiency.
- Have a developer review performance issues—especially combination generation or imports—and move heavy tasks to CLI scripts.
- Running these from the command line avoids PHP web server limits and ensures faster, more reliable processing.