Question

Slow queries log on managed database

Is it possible to view the slow queries log on a managed database? I don’t see it under the “Logs & Queries” tab, as suggested.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hey @lovablelapisraft,

I don’t think that you can change the slow query log variable as it is a global one.

mysql> show variables like '%slow%';
+-----------------------------+-------+
| Variable_name               | Value |
+-----------------------------+-------+
| slow_query_log              | OFF   |
+-----------------------------+-------+

You can try reaching out to the DigitalOcean support team who might be able to change this for you, though there is a chance that it might not be possible.

https://www.digitalocean.com/support/

Hope that helps!

- Bobby.