The listing in this section provides information about
parameters used in the
[api] sections of a
config.ini file for configuring NDB Cluster
SQL nodes and API nodes. For detailed descriptions and other
additional information about each of these parameters, see
Section 22.214.171.124, “Defining SQL and Other API Nodes in an NDB Cluster”.
ArbitrationDelay: When asked to arbitrate, arbitrator waits this many milliseconds before voting
ArbitrationRank: If 0, then API node is not arbitrator. Kernel selects arbitrators in order 1, 2
AutoReconnect: Specifies whether an API node should reconnect fully when disconnected from the cluster
BatchByteSize: The default batch size in bytes
BatchSize: The default batch size in number of records
ConnectBackoffMaxTime: Specifies longest time in milliseconds (~100ms resolution) to allow between connection attempts to any given data node by this API node. Excludes time elapsed while connection attempts are ongoing, which in worst case can take several seconds. Disable by setting to 0. If no data nodes are currently connected to this API node, StartConnectBackoffMaxTime is used instead.
ConnectionMap: Specifies which data nodes to connect
DefaultHashMapSize: Set size (in buckets) to use for table hash maps. Three values are supported: 0, 240, and 3840. Intended primarily for upgrades and downgrades to and from NDB 7.2.7+; see the documentation before attempting to use.
DefaultOperationRedoProblemAction: How operations are handled in the event that RedoOverCommitCounter is exceeded
ExecuteOnComputer: String referencing an earlier defined COMPUTER
ExtraSendBufferMemory: Memory to use for send buffers in addition to any allocated by TotalSendBufferMemory or SendBufferMemory. Default (0) allows up to 16MB.
HeartbeatThreadPriority: Set heartbeat thread policy and priority for API nodes; see manual for allowed values
HostName: Host name or IP address for this SQL or API node.
Id: Number identifying MySQL server or API node (Id). Now deprecated; use NodeId instead.
MaxScanBatchSize: The maximum collective batch size for one scan
NodeId: Number uniquely identifying the SQL node or API node among all nodes in the cluster.
StartConnectBackoffMaxTime: Same as ConnectBackoffMaxTime except that this parameter is used in its place if no data nodes are connected to this API node.
TotalSendBufferMemory: Total memory to use for all transporter send buffers
wan: Use WAN TCP setting as default
For a discussion of MySQL server options for NDB Cluster, see Section 126.96.36.199.1, “MySQL Server Options for NDB Cluster”; for information about MySQL server system variables relating to NDB Cluster, see Section 188.8.131.52.2, “NDB Cluster System Variables”.
To add new SQL or API nodes to the configuration of a running
NDB Cluster, it is necessary to perform a rolling restart of
all cluster nodes after adding new
[api] sections to the
config.ini file (or files, if you are
using more than one management server). This must be done
before the new SQL or API nodes can connect to the cluster.
It is not necessary to perform any restart of the cluster if new SQL or API nodes can employ previously unused API slots in the cluster configuration to connect to the cluster.