Neidio i'r brif gynnwys

Database optimization

yn Optimization
Rhestr o awduron
Cyhoeddwyd: Aug 1, 2023|Diweddarwyd diwethaf: Aug 1, 2023

Database optimization Copy link to Database optimization to clipboard

The OPC has a number of checks regarding database optimization.

Some changes will be made during the installation depending on server resources available. MySQL will set itself to use 25% of available RAM on the server.

The OPC decision page may show one of two pages for database optimization depending on how MySQL is being run

InternalCopy link to Internal to clipboard

If you are using an internal MySQL database you have the option to apply the configuration changes with the OPC

image.png

Chosing Optimize will apply the configuration changes and restart the MySQL service

ExternalCopy link to External to clipboard

If you are using an external MySQL server the OPC cannot make the config changes itself. Instead it will display the recommended values based on the resource scan and advise adding them to the MySQL config file on the MySQL server.

image.png

Further improvements can be made to MySQL using 3rd party tools to analyze your MySQL configuration. If you suspect MySQL is running slowly, we would advise enabling slow logging to capture which queries are not running quickly. The logs can then be reviewed by either a dba or Deskpro support and we can look to advise on further changes where possible.

DefnyddiolAnnefnyddiol
tudalen nesafPHP performance optimization

Mewngofnodwch neu cofrestrwch i gyflwyno sylw.

Adrannau'r dudalen