Server Command Options
412
Option-File Format
log-long-format
Deprecated
4.1
Log extra information to the update log, binary update log, and slow query log, if they have been
activated. For example, the user name and timestamp are logged for all queries. This option is
deprecated, as it now represents the default logging behavior. (See the description for
--log-
short-format
[412]
.) The
--log-queries-not-using-indexes
[412]
option is available
for the purpose of logging queries that do not use indexes to the slow query log.
--log-long-
format
[411]
is removed in MySQL 5.5.
•
--log-queries-not-using-indexes
[412]
Command-Line Format
--log-queries-not-using-indexes
Option-File Format
log-queries-not-using-indexes
Option Sets Variable
Yes,
log_queries_not_using_indexes
[464]
Variable Name
log_queries_not_using_indexes
Variable Scope
Global
Dynamic Variable
Yes
Permitted Values
Type
boolean
Default
OFF
If you are using this option with the slow query log enabled, queries that are expected to retrieve all
rows are logged. See
Section 5.2.4, “The Slow Query Log”
. This option does not necessarily mean
that no index is used. For example, a query that uses a full index scan uses an index but would be
logged because the index would not limit the number of rows.
•
--log-short-format
[412]
Command-Line Format
--log-short-format
Option-File Format
log-short-format
Permitted Values
Type
boolean
Default
FALSE
Originally intended to log less information to the update log, binary log and slow query log, if they
have been activated. However, this option is not operational.
•
--log-slow-admin-statements
[412]
Command-Line Format
--log-slow-admin-statements
Option-File Format
log-slow-admin-statements
Permitted Values
Type
boolean
Default
OFF
Include slow administrative statements in the statements written to the slow query log. Administrative
statements include
ALTER TABLE
,
ANALYZE TABLE
,
CHECK TABLE
,
CREATE INDEX
,
DROP
INDEX
,
OPTIMIZE TABLE
, and
REPAIR TABLE
.
•
--log-slow-queries[=file_name]
[412]
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...