Server System Variables
501
Variable Name
time_zone
Variable Scope
Global, Session
Dynamic Variable
Yes
Permitted Values
Type
string
The current time zone. This variable is used to initialize the time zone for each client that
connects. By default, the initial value of this is
'SYSTEM'
(which means, “use the value of
system_time_zone
[498]
”). The value can be specified explicitly at server startup with the
--
default-time-zone
[406]
option. See
Section 10.6, “MySQL Server Time Zone Support”
.
•
timed_mutexes
[501]
Version Introduced
5.0.3
Command-Line Format
--timed_mutexes
Option-File Format
timed_mutexes
Option Sets Variable
Yes,
timed_mutexes
[501]
Variable Name
timed_mutexes
Variable Scope
Global
Dynamic Variable
Yes
Permitted Values
Type
boolean
Default
OFF
This variable controls whether
InnoDB
mutexes are timed. If this variable is set to 0 or
OFF
(the
default), mutex timing is disabled. If the variable is set to 1 or
ON
, mutex timing is enabled. With
timing enabled, the
os_wait_times
value in the output from
SHOW ENGINE INNODB MUTEX
indicates the amount of time (in ms) spent in operating system waits. Otherwise, the value is 0. This
variable was added in MySQL 5.0.3.
•
timestamp = {timestamp_value | DEFAULT}
[501]
Set the time for this client. This is used to get the original timestamp if you use the binary log to
restore rows.
timestamp_value
should be a Unix epoch timestamp, not a MySQL timestamp.
SET timestamp
affects the value returned by
NOW()
[926]
but not by
SYSDATE()
[928]
. This
means that timestamp settings in the binary log have no effect on invocations of
SYSDATE()
[928]
.
The server can be started with the
--sysdate-is-now
[423]
option to cause
SYSDATE()
[928]
to be an alias for
NOW()
[926]
, in which case
SET timestamp
affects both functions.
•
tmp_table_size
[501]
Command-Line Format
--tmp_table_size=#
Option-File Format
tmp_table_size
Option Sets Variable
Yes,
tmp_table_size
[501]
Variable Name
tmp_table_size
Variable Scope
Global, Session
Dynamic Variable
Yes
Permitted Values
Type
numeric
Default
system dependent
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...