Hi!
Can I limit query execution time in mysql for some user?
For example, I wish limit maximal query execution time to 20 ms for user ‘test’. and if query executes more than 20 ms. his must be killed.
Hi!
Can I limit query execution time in mysql for some user?
For example, I wish limit maximal query execution time to 20 ms for user ‘test’. and if query executes more than 20 ms. his must be killed.
AFAIK, there is no such limits in mysql so far. But simple script with ‘show processlist’ + kill should do the thing.
But `show processlist’ returns time only in seconds (.
Unanswered | Unsolved | Solved
MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright © 2006 - 2024 Percona LLC. All rights reserved.