summaryrefslogtreecommitdiff
path: root/mysql-test/main/mysqld--help.result
diff options
context:
space:
mode:
authorMichael Qin <qinmic@amazon.com>2022-05-25 00:24:53 +0000
committerSergei Golubchik <serg@mariadb.org>2022-10-04 12:28:03 +0200
commitaf4918b41f679501809dd407dcfd2c4c980443be (patch)
tree11108e81ee5e7b5a8a7f0e7f87d296fbe3730d80 /mysql-test/main/mysqld--help.result
parent315f2e8b81100de8f0a91363e785c9f9cff5d4f2 (diff)
downloadmariadb-git-af4918b41f679501809dd407dcfd2c4c980443be.tar.gz
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.
Diffstat (limited to 'mysql-test/main/mysqld--help.result')
-rw-r--r--mysql-test/main/mysqld--help.result57
1 files changed, 42 insertions, 15 deletions
diff --git a/mysql-test/main/mysqld--help.result b/mysql-test/main/mysqld--help.result
index 4053f75e35f..7cf18ea9f63 100644
--- a/mysql-test/main/mysqld--help.result
+++ b/mysql-test/main/mysqld--help.result
@@ -497,8 +497,9 @@ The following specify which files/extra groups are read (specified before remain
--log-output=name How logs should be written. Any combination of: NONE,
FILE, TABLE
--log-queries-not-using-indexes
- Log queries that are executed without benefit of any
- index to the slow log if it is open. Same as
+ Alias 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'
--log-short-format Don't log extra information to update and slow-query
logs.
@@ -523,6 +524,27 @@ The following specify which files/extra groups are read (specified before remain
filesort_priority_queue, full_join, full_scan,
not_using_index, query_cache, query_cache_miss, tmp_table,
tmp_table_on_disk
+ --log-slow-min-examined-row-limit=#
+ Don't write queries to slow log that examine fewer rows
+ than that
+ --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'
+ --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.
+ --log-slow-query-file-name=name
+ Log slow queries to given log file. Defaults logging to
+ 'hostname'-slow.log. Must be enabled to activate other
+ slow log options
+ --log-slow-query-time=#
+ 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
--log-slow-rate-limit=#
Write to slow log every #th slow query. Set to 1 to log
everything. Increase it to reduce the size of the slow or
@@ -543,10 +565,10 @@ The following specify which files/extra groups are read (specified before remain
Log some not critical warnings to the general log
file.Value can be between 0 and 11. Higher values mean
more verbosity
- --long-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
+ --long-query-time=# Alias 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
--low-priority-updates
INSERT/DELETE/UPDATE has lower priority than selects
--lower-case-table-names[=#]
@@ -635,8 +657,8 @@ The following specify which files/extra groups are read (specified before remain
--metadata-locks-hash-instances=#
Unused
--min-examined-row-limit=#
- Don't write queries to slow log that examine fewer rows
- than that
+ Alias for log_slow_min_examined_row_limit. Don't write
+ queries to slow log that examine fewer rows than that
--mrr-buffer-size=# Size of buffer to use when using MRR with range access
--myisam-block-size=#
Block size to be used for MyISAM index pages
@@ -1304,14 +1326,15 @@ The following specify which files/extra groups are read (specified before remain
If creating the thread takes longer than this value (in
seconds), the Slow_launch_threads counter will be
incremented
- --slow-query-log 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.
+ --slow-query-log Alias 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.
--slow-query-log-file=name
- Log slow queries to given log file. Defaults logging to
- 'hostname'-slow.log. Must be enabled to activate other
- slow log options
+ Alias 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
--socket=name Socket file to use for connection
--sort-buffer-size=#
Each thread that needs to do a sort allocates a buffer of
@@ -1617,6 +1640,10 @@ log-slave-updates FALSE
log-slow-admin-statements TRUE
log-slow-disabled-statements sp
log-slow-filter admin,filesort,filesort_on_disk,filesort_priority_queue,full_join,full_scan,query_cache,query_cache_miss,tmp_table,tmp_table_on_disk
+log-slow-min-examined-row-limit 0
+log-slow-queries-not-using-indexes FALSE
+log-slow-query-enable FALSE
+log-slow-query-time 10
log-slow-rate-limit 1
log-slow-slave-statements TRUE
log-slow-verbosity