I need recommendations from an experts of Mysql (innodb on v 5.6+)
What is the problem?
Depending from the some queries execution time takes too long.
Is there any way to stop the execution of the query and return (for example false) if it takes more than N seconds?
Thanks
Mysql indexes is ok, querying and grouping is ok.
If you want stop that take long time execution SQL , here is how to stop it :
connect to that MySQL server
execute SQL show processlist
find id
with long execution time
execute kill [id]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.