Overview
Scenarios
Product Architecture
Instance Types
Compatibility Notes
Usage specification recommendations
max_execution_time is used to set the execution timeout duration for SELECT statements, in milliseconds. When the execution time of a SELECT statement exceeds the value set by max_execution_time, the query will be interrupted and an error will be returned.max_execution_time parameter:SELECT statements, the max_execution_time parameter applies to all queries unless the query contains the MAX_EXECUTION_TIME(N) optimizer hint or N is 0.SELECT statements (for example, calling stored functions with side effects), the max_execution_time parameter does not apply.SELECT statements within stored programs, the max_execution_time parameter does not apply.max_execution_time parameter, you need to consider the following factors:max_execution_time may need to be increased to ensure that the script can run normally. For scripts that take a short time to execute, the value of max_execution_time can be reduced to save system resources.max_execution_time can be increased appropriately to improve script execution efficiency. In the case of resource shortage, the value of max_execution_time needs to be reduced to avoid resource exhaustion.max_execution_time may need to be increased to ensure that script execution is completed within a reasonable time. For applications with low requirements for user experience, the value of max_execution_time can be reduced to improve system performance.Required | Description |
Parameter Type | ULONG |
Default Value | 0 |
Value Range | 0 ~ 18446744073709551615 |
Effective Scope | GLOBAL SESSION |
Restart Required | No |
피드백