Configuration 

Extension Settings 

Head over to the Admin Tools > Settings module of TYPO3 in the left menu of the TYPO3 backend and choose Configure Extensions. Open the accordion for mysqlreport.

enableFrontendLogging 

Activate logging for frontend requests.

mysqlreport will collect the queries with their execution times and query type (SELECT/INSERT/UPDATE/DELETE).

enableBackendLogging 

Activate logging for backend requests.

mysqlreport will collect the queries with their execution times and query type (SELECT/INSERT/UPDATE/DELETE).

activateExplainQuery 

mysqlreport executes each query again with a prefixed EXPLAIN to retrieve detailed index and performance information. You will see this additional information in the backend module of mysqlreport in section Profiling in the detail view of a selected query.

slowQueryThreshold 

mysqlreport cannot read the original queries from the Slow Query Log of your server. However, as we already collect the duration of all queries, we can show the first 100 queries with a duration higher than the configured value here (default: 10.0 seconds).

If you want to see queries slower than slowQueryThreshold, you must activate one of the logging options above (enableFrontendLogging or enableBackendLogging).