Question

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

Hello,

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

Hi there,

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

https://docs.digitalocean.com/products/databases/mysql/details/limits/#mysql-limits

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:

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

Hope that helps!

- Bobby.