MySQL/MariaDB
Last updated
Was this helpful?
Last updated
Was this helpful?
Some of those optimizations might only be possible on VPS or dedicated servers, not on shared hosting with cPanel.
MariaDB is an open-source fork of MySQL that provides better performance.
The nice part is that MariaDB is a "drop-in replacement" for MySQL, meaning that you can just install it over the current MySQL installation and it should work.
By default, MySQL won't use all the server resources. You have to tell MySQL explicitly how much memory it can use.
It is important to change your the innodb-buffer-pool-size
based on the available RAM size.
Here is a recommended MySQL config for an 8GB/4vCPU server:
The highest database usage in UXWizz are usually the heatmaps and session recordings. By default, UXWizz keeps this data until the user associated with it is also removed.
If your database size grew too big, or you want to reduce the size before a server migration, you can safely delete old heatmaps and session recordings.
For example, if you only want to delete the oldest 50K heatmap entries and oldest 10K recordings, you can run those MySQL queries:
To install on use it, simply download the Perl file and executed it:
An easy way to find the correct values for your . When ran, the MySQLTuner will check your current configuration and server specifications and suggest some reasonable values to use.
The optimal configuration settings depend on the database size and system specs. There are tools that can automatically suggest the best configuration for your specific setup. One such tools is