The problem is that there are always requests with large samples that load the outgoing channel of the mysql server.
The log of slow queries does not give an exact picture. the server is not overloaded yet and is handling the load.
Is there a way to track large samples and log them?
SELECT COUNT(), if you are only interested in the number of records). - Akina