문제

I understand that I can set the value of the global MAX_EXECUTION_TIME by running (from mysql client):

SET GLOBAL MAX_EXECUTION_TIME

But how do I just inquire its value?

GET instead of SET does not seem to accomplish that.

도움이 되었습니까?

해결책

SHOW VARIABLES LIKE 'MAX_EXECUTION_TIME' or select @@max_execution_time for retrieval.

"The execution timeout for SELECT statements, in milliseconds. If the value is 0, timeouts are NOT enabled." per documentation.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top