You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MDEV-7567 Add aliases with prefix log_slow for system variables relating to slow query log.
Thus, all these variables will be grouped together and more logically named. Descriptions for the old variables were updated to indicate they are now aliases for the newly introduced variables with prefix log_slow. log_slow_queries_not_using_indexes_filter will not be addressed in this merge request. log_throttle_queries_not_using_indexes seems to no longer be in use. MTR tests are also updated to include the new variable names. All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc.
VARIABLE_COMMENT Log queries that are executed without benefit of any index to the slow log if it is open. Same as log_slow_filter='not_using_index'
1658
+
VARIABLE_COMMENTAlias for log_slow_queries_not_using_indexes. Log queries that are executed without benefit of any index to the slow log if it is open. Same as log_slow_filter='not_using_index'
VARIABLE_COMMENT Don't write queries to slow log that examine fewer rows than that
1699
+
NUMERIC_MIN_VALUE 0
1700
+
NUMERIC_MAX_VALUE 4294967295
1701
+
NUMERIC_BLOCK_SIZE 1
1702
+
ENUM_VALUE_LIST NULL
1703
+
READ_ONLY NO
1704
+
COMMAND_LINE_ARGUMENT REQUIRED
1705
+
VARIABLE_NAME LOG_SLOW_QUERIES_NOT_USING_INDEXES
1706
+
VARIABLE_SCOPE SESSION
1707
+
VARIABLE_TYPE BOOLEAN
1708
+
VARIABLE_COMMENT Log queries that are executed without benefit of any index to the slow log if it is open. Same as log_slow_filter='not_using_index'
1709
+
NUMERIC_MIN_VALUE NULL
1710
+
NUMERIC_MAX_VALUE NULL
1711
+
NUMERIC_BLOCK_SIZE NULL
1712
+
ENUM_VALUE_LIST OFF,ON
1713
+
READ_ONLY NO
1714
+
COMMAND_LINE_ARGUMENT OPTIONAL
1715
+
VARIABLE_NAME LOG_SLOW_QUERY_ENABLE
1716
+
VARIABLE_SCOPE SESSION
1717
+
VARIABLE_TYPE BOOLEAN
1718
+
VARIABLE_COMMENT Log slow queries to a table or log file. Defaults logging to a file 'hostname'-slow.log or a table mysql.slow_log if --log-output=TABLE is used. Must be enabled to activate other slow log options.
1719
+
NUMERIC_MIN_VALUE NULL
1720
+
NUMERIC_MAX_VALUE NULL
1721
+
NUMERIC_BLOCK_SIZE NULL
1722
+
ENUM_VALUE_LIST OFF,ON
1723
+
READ_ONLY NO
1724
+
COMMAND_LINE_ARGUMENT OPTIONAL
1725
+
VARIABLE_NAME LOG_SLOW_QUERY_FILE_NAME
1726
+
VARIABLE_SCOPE GLOBAL
1727
+
VARIABLE_TYPE VARCHAR
1728
+
VARIABLE_COMMENT Log slow queries to given log file. Defaults logging to 'hostname'-slow.log. Must be enabled to activate other slow log options
1729
+
NUMERIC_MIN_VALUE NULL
1730
+
NUMERIC_MAX_VALUE NULL
1731
+
NUMERIC_BLOCK_SIZE NULL
1732
+
ENUM_VALUE_LIST NULL
1733
+
READ_ONLY NO
1734
+
COMMAND_LINE_ARGUMENT REQUIRED
1735
+
VARIABLE_NAME LOG_SLOW_QUERY_TIME
1736
+
VARIABLE_SCOPE SESSION
1737
+
VARIABLE_TYPE DOUBLE
1738
+
VARIABLE_COMMENT Log all queries that have taken more than log_slow_query_time seconds to execute to the slow query log file. The argument will be treated as a decimal value with microsecond precision
VARIABLE_COMMENT Log all queries that have taken more than long_query_time seconds to execute to the slow query log file. The argument will be treated as a decimal value with microsecond precision
1788
+
VARIABLE_COMMENTAlias for log_slow_query_time. Log all queries that have taken more than long_query_time seconds to execute to the slow query log file. The argument will be treated as a decimal value with microsecond precision
VARIABLE_COMMENT Don't start more than this number of threads to handle INSERT DELAYED statements. If set to zero INSERT DELAYED will be not used
1928
+
VARIABLE_COMMENTAlias for max_delayed_threads. Don't start more than this number of threads to handle INSERT DELAYED statements. If set to zero INSERT DELAYED will be not used
VARIABLE_COMMENT Log slow queries to a table or log file. Defaults logging to a file 'hostname'-slow.log or a table mysql.slow_log if --log-output=TABLE is used. Must be enabled to activate other slow log options.
3238
+
VARIABLE_COMMENTAlias for log_slow_query_enable. Log slow queries to a table or log file. Defaults logging to a file 'hostname'-slow.log or a table mysql.slow_log if --log-output=TABLE is used. Must be enabled to activate other slow log options.
VARIABLE_COMMENT Log slow queries to given log file. Defaults logging to 'hostname'-slow.log. Must be enabled to activate other slow log options
3248
+
VARIABLE_COMMENTAlias for log_slow_query_file_name. Log slow queries to given log file. Defaults logging to 'hostname'-slow.log. Must be enabled to activate other slow log options
0 commit comments