Using System Variables
512
The following table shows the full list of all dynamic system variables. The last column indicates for
each variable whether
GLOBAL
or
SESSION
(or both) apply. The table also lists session options that
can be set with the
SET
statement.
Section 5.1.4, “Server System Variables”
, discusses these options.
Variables that have a type of “string” take a string value. Variables that have a type of “numeric” take
a numeric value. Variables that have a type of “boolean” can be set to 0, 1,
ON
or
OFF
. (If you set
them on the command line or in an option file, use the numeric values.) Variables that are marked
as “enumeration” normally should be set to one of the available values for the variable, but can also
be set to the number that corresponds to the desired enumeration value. For enumerated system
variables, the first enumeration value corresponds to 0. This differs from
ENUM
columns, for which the
first enumeration value corresponds to 1.
Table 5.3. Dynamic Variable Summary
Variable Name
Variable Type
Variable Scope
auto_increment_increment
[1446]
numeric
GLOBAL
|
SESSION
auto_increment_offset
[1449]
numeric
GLOBAL
|
SESSION
autocommit
[436]
boolean
SESSION
automatic_sp_privileges
[437]
boolean
GLOBAL
big_tables
[401]
boolean
SESSION
binlog_cache_size
[440]
numeric
GLOBAL
bulk_insert_buffer_size
[441]
numeric
GLOBAL
|
SESSION
character_set_client
[441]
string
GLOBAL
|
SESSION
character_set_connection
[442]
string
GLOBAL
|
SESSION
character_set_database
[442]
string
GLOBAL
|
SESSION
character_set_filesystem
[403]
string
GLOBAL
|
SESSION
character_set_results
[443]
string
GLOBAL
|
SESSION
character_set_server
[403]
string
GLOBAL
|
SESSION
collation_connection
[443]
string
GLOBAL
|
SESSION
collation_database
[444]
string
GLOBAL
|
SESSION
collation_server
[403]
string
GLOBAL
|
SESSION
completion_type
[444]
numeric
GLOBAL
|
SESSION
concurrent_insert
[445]
boolean
GLOBAL
connect_timeout
[445]
numeric
GLOBAL
debug
[405]
string
GLOBAL
|
SESSION
storage_engine
[405]
enumeration
GLOBAL
|
SESSION
default_week_format
[446]
numeric
GLOBAL
|
SESSION
delay_key_write
[406]
enumeration
GLOBAL
delayed_insert_limit
[447]
numeric
GLOBAL
delayed_insert_timeout
[448]
numeric
GLOBAL
delayed_queue_size
[448]
numeric
GLOBAL
div_precision_increment
[449]
numeric
GLOBAL
|
SESSION
engine_condition_pushdown
[407]
boolean
GLOBAL
|
SESSION
expire_logs_days
[450]
numeric
GLOBAL
flush
[450]
boolean
GLOBAL
flush_time
[451]
numeric
GLOBAL
foreign_key_checks
[451]
boolean
SESSION
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 ...