magehost / performance-dashboard

Magento 2 Performance Dashboard
https://marketplace.magento.com/magehost-performance-dashboard.html
MIT License
63 stars 12 forks source link

MySQL parameter optimisation #7

Closed barryvdh closed 3 years ago

barryvdh commented 4 years ago

Would it be interesting to add MySQL optimalisation to the panel?

Getting the values is not that hard probably (show variables ..) but not sure what the easiest way to detect the correct value is, based on table size + available memory.

jeroenvermeulen commented 4 years ago

Thank you for the idea, we will take a look!

toonvd commented 3 years ago

Hi

Thank you for your contribution.

These settings are a bit theoretical and do not work / help in all cases. Concerning the batch sizes - these shouldn't really be tuned if the index is fast enough. Opinions on how fast the indexer should be are also biased and differ from case to case.

Concerning the MySQL performance settings - shared hosting, the presence of several other tools, a merge between Magento 2 and Wordpress and several other cases might influence the way the hosting tunes these settings. This makes me draw the conclusion that there is no golden bullet.

This made us take the following conclusions: