Managed MYSQL high memory usage

Posted September 24, 2020 1.3k views
DigitalOcean Managed MySQL Database

Is it normal for a managed mysql database to have memory usage of 89% all the time? We have 4GB of RAM and the CPU is idle but the memory is high.

Is it possible to restart the managed mysql process to see if it frees up the memory? If so how?

1 comment

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there,

I believe that this is quite standard for MySQL servers, both managed and unmanaged. When MySQL starts, it allocates buffers and caches directly into memory. That way it improves the performance of database operations.

Here are a couple of useful commands that you could use to check your server status and storage engine status:

  • Show your storage engine status:
  • Check the server status:

The two commands will give you a better overview of the status of your cluster.

You can also check your current query process list with the following command in order to see if your cluster is busy:


For more information on the server status variables, I would suggest going through the official MySQL documentation here:

Hope that this helps.