mysqlconfigurer icon indicating copy to clipboard operation
mysqlconfigurer copied to clipboard

Improve the article Managing MySQL long-running queries

Open drupaladmin opened this issue 6 months ago • 0 comments

Don't forget that since MySQL 8.0 you can also modify the configuration without editing the my.cnf file:

SQL> set persist max_execution_time=20;

And you can also use the max_execution_time without changing any session or global variable but using optimizer hints like:

SELECT /*+ MAX_EXECUTION_TIME(1000) */ name, job from t1;

The source: https://dev.to/lefred/comment/2h21c

drupaladmin avatar Aug 02 '24 06:08 drupaladmin