HiveBrain v1.2.0
Get Started
← Back to all entries
snippetsqlMinor

How to inquire about current value of MAX_EXECUTION_TIME

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
valuemax_execution_timeaboutcurrenthowinquire

Problem

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.

Solution

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.

Context

StackExchange Database Administrators Q#285480, answer score: 7

Revisions (0)

No revisions yet.