Why my application queries don't appear in the query statistics section ?


We recently switched our PHP Laravel application to use a DO MySQL DB.

So far so good, we have what it seems to be correct insights of the cluster and of the DB.

But in the “Logs & Queries” tab, the “Query statistics” only contains “START TRANSACTION” and “COMMIT” but not the actual queries executed by the application.

Moreover, if I execute a query with the mysql client directly, this time, I can see it in “Query statistics”.

Is it normal ? How does this “Query statistics” works ?

Thanks in advance.

Submit an answer

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
December 21, 2022

Hi there,

Indeed, I believe that this might be a known limitation as listed here:

Quote: We do not support query statistics.

You could try reaching out to the DigitalOcean support team and see if they could get that information for you on their end:

Hope that helps!

- Bobby.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel