Oracle 5.0 Reference Manual page 432

Table of Contents

Advertisement

Option-File Format
Deprecated
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
[412].) The
short-format
for the purpose of logging queries that do not use indexes to the slow query log.
[411]
is removed in MySQL 5.5.
format
--log-queries-not-using-indexes
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
If you are using this option with the slow query log enabled, queries that are expected to retrieve all
rows are logged. See
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
Command-Line Format
Option-File Format
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
Command-Line Format
Option-File Format
Include slow administrative statements in the statements written to the slow query log. Administrative
statements include
ALTER
INDEX,
OPTIMIZE
--log-slow-queries[=file_name]
Server Command Options
log-long-format
4.1
--log-queries-not-using-indexes
--log-queries-not-using-indexes
log-queries-not-using-indexes
Yes,
log_queries_not_using_indexes
log_queries_not_using_indexes
Global
Yes
Permitted Values
Type
boolean
Default
OFF
Section 5.2.4, "The Slow Query
[412]
--log-short-format
log-short-format
Permitted Values
Type
boolean
Default
FALSE
[412]
--log-slow-admin-statements
log-slow-admin-statements
Permitted Values
Type
boolean
Default
OFF
TABLE,
ANALYZE
TABLE, and
REPAIR
TABLE.
412
[412]
Log". This option does not necessarily mean
TABLE,
CHECK
TABLE,
[412]
--log-
[412]
option is available
--log-long-
[464]
CREATE
INDEX,
DROP

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents