Oracle 5.0 Reference Manual page 456

Table of Contents

Advertisement

Section 17.3.4.3, "MySQL Cluster System
MySQL Cluster.
• For information on server system variables specific to replication, see
and Binary Logging Options and
Note
Some of the following variable descriptions refer to "enabling" or "disabling" a
variable. These variables can be enabled with the
them to
a variable on the command line or in an option file, you must set it to
setting it to
delay_key_write=1
does not.
Some system variables control the size of buffers or caches. For a given buffer, the server might need
to allocate internal data structures. These structures typically are allocated from the total memory
allocated to the buffer, and the amount of space required might be platform dependent. This means
that when you assign a value to a system variable that controls a buffer size, the amount of space
actually available might differ from the value assigned. In some cases, the amount might be less than
the value assigned. It is also possible that the server will adjust a value upward. For example, if you
assign a value of 0 to a variable for which the minimal value is 1024, the server will set the value to
1024.
Values for buffer sizes, lengths, and stack sizes are given in bytes unless otherwise specified.
Some system variables take file name values. Unless otherwise specified, the default file location is
the data directory if the value is a relative path name. To specify the location explicitly, use an absolute
path name. Suppose that the data directory is /var/mysql/data. If a file-valued variable is given
as a relative path name, it will be located under /var/mysql/data. If the value is an absolute path
name, its location is as given by the path name.
[436]
autocommit
Command-Line Format
Option-File Format
Option Sets Variable
Variable Name
Variable Scope
Dynamic Variable
The autocommit mode. If set to 1, all changes to a table take effect immediately. If set to 0, you must
use
to accept a transaction or
COMMIT
change it to 1, MySQL performs an automatic
a transaction is to use a
TRANSACTION, COMMIT, and
By default, client connections begin with
a default of 0, set the server's
SET GLOBAL init_connect='SET autocommit=0';
The
init_connect
the variable as just shown using an option file, include these lines:
Server System Variables
Variables", lists system variables which are specific to
Variables".
or 1, or disabled by setting them to
ON
or
will not work. For example, on the command line,
ON
OFF
[447]
--autocommit[=#]
autocommit
Yes,
autocommit
autocommit
Session
Yes
Permitted Values
Type
boolean
ROLLBACK
START TRANSACTION
Syntax".
ROLLBACK
autocommit
init_connect
[456]
variable can also be set on the command line or in an option file. To set
436
SET
or 0. However, to set such
OFF
works but
--delay_key_write=ON
[436]
to cancel it. If
autocommit
of any open transaction. Another way to begin
COMMIT
or
statement. See
BEGIN
[436]
set to 1. To cause clients to begin with
[456]
system variable:
Section 16.1.2, "Replication
statement by setting
or 0;
1
--
[447]
[436]
is 0 and you
Section 13.3.1,
"START

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents