php-profiler icon indicating copy to clipboard operation
php-profiler copied to clipboard

How to configure to collect slow SQL?

Open haojohnny opened this issue 4 years ago • 1 comments

haojohnny avatar Dec 24 '20 13:12 haojohnny

none of the profiling extensions record method arguments, so this is not doable right now.

Perhaps you find enabling slow queries on the server-side useful. For example for MySQL:

  • https://dev.mysql.com/doc/refman/5.7/en/slow-query-log.html

glensc avatar Jan 21 '21 17:01 glensc