MySQL Cluster Configuration Files
1558
The value for this parameter must divide evenly into the number of data nodes in the cluster. For
example, if there are two data nodes, then
NoOfReplicas
must be equal to either 1 or 2, since 2/3
and 2/4 both yield fractional values; if there are four data nodes, then
NoOfReplicas
must be equal
to 1, 2, or 4.
•
DataDir
Effective Version
Type/Units
Default
Range/Values
MySQL 5.0.0
path
.
...
Restart Type: IN
This parameter specifies the directory where trace files, log files, pid files and error logs are placed.
The default is the data node process working directory.
•
FileSystemPath
Effective Version
Type/Units
Default
Range/Values
MySQL 5.0.0
path
DataDir
...
Restart Type: IN
This parameter specifies the directory where all files created for metadata, REDO logs, UNDO logs,
and data files are placed. The default is the directory specified by
DataDir
.
Note
This directory must exist before the
ndbd
process is initiated.
The recommended directory hierarchy for MySQL Cluster includes
/var/lib/mysql-cluster
,
under which a directory for the node's file system is created. The name of this subdirectory contains
the node ID. For example, if the node ID is 2, this subdirectory is named
ndb_2_fs
.
•
BackupDataDir
Effective Version
Type/Units
Default
Range/Values
MySQL 5.0.0
path
[see text]
...
Restart Type: IN
This parameter specifies the directory in which backups are placed.
Important
The string '
/BACKUP
' is always appended to this value. For example, if
you set the value of
BackupDataDir
to
/var/lib/cluster-data
,
then all backups are stored under
/var/lib/cluster-data/BACKUP
.
This also means that the effective default backup location is the directory
named
BACKUP
under the location specified by the
FileSystemPath
parameter [1558]
.
Data Memory, Index Memory, and String Memory
DataMemory
and
IndexMemory
are
[ndbd]
parameters specifying the size of memory segments
used to store the actual records and their indexes. In setting values for these, it is important to
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 ...