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.

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Bobby Iliev
Site Moderator
Site Moderator badge
June 3, 2022

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.

Hope that helps!

- Bobby.