Oracle 5.0 Reference Manual page 1582

Table of Contents

Advertisement

handled by the system.
possible in a node.
MaxNoOfConcurrentOperations
update phase or locked simultaneously.
Both of these parameters (especially MaxNoOfConcurrentOperations) are likely targets for users
setting specific values and not using the default value. The default value is set for systems using small
transactions, to ensure that these do not use excessive memory.
MaxNoOfConcurrentTransactions
Effective Version
MySQL 5.0.0
Restart Type: S
Each cluster data node requires a transaction record for each active transaction in the cluster. The
task of coordinating transactions is distributed among all of the data nodes. The total number of
transaction records in the cluster is the number of transactions in any given node times the number
of nodes in the cluster.
Transaction records are allocated to individual MySQL servers. Each connection to a MySQL server
requires at least one transaction record, plus an additional transaction object per table accessed by
that connection. This means that a reasonable minimum for this parameter is
MaxNoOfConcurrentTransactions =
(maximum number of tables accessed in any single transaction + 1)
* number of cluster SQL nodes
Suppose that there are 10 SQL nodes using the cluster. A single join involving 10 tables requires
11 transaction records; if there are 10 such joins in a transaction, then 10 * 11 = 110 transaction
records are required for this transaction, per MySQL server, or 110 * 10 = 1100 transaction
records total. Each data node can be expected to handle TotalNoOfConcurrentTransactions /
number of data nodes. For a MySQL Cluster having 4 data nodes, this would mean setting
MaxNoOfConcurrentTransactions
provide for failure recovery by insuring that a single node group can accommodate all concurrent
transactions; in other words, that each data node's MaxNoOfConcurrentTransactions is sufficient to
cover a number of transaction equal to TotalNoOfConcurrentTransactions / number of node groups.
If this cluster has a single node group, then
1100 (the same as the total number of concurrent transactions for the entire cluster).
In addition, each transaction involves at least one operation; for this reason, the value set
for
MaxNoOfConcurrentTransactions
MaxNoOfConcurrentOperations
This parameter must be set to the same value for all cluster data nodes. This is due to the fact that,
when a data node fails, the oldest surviving node re-creates the transaction state of all transactions
that were ongoing in the failed node.
Changing the value of
restart of the cluster.
The default value is 4096.
MaxNoOfConcurrentOperations
Effective Version
MySQL 5.0.0
Restart Type: N
MySQL Cluster Configuration Files
MaxNoOfConcurrentTransactions
Type/Units
integer
on each data node to 1100 / 4 = 275. In addition, you should
MaxNoOfConcurrentTransactions
should always be no more than the value of
[1562].
MaxNoOfConcurrentTransactions
Type/Units
integer
1562
sets the number of parallel transactions
sets the number of records that can be in
Default
4096
requires a complete shutdown and
Default
32K
Range/Values
32 - 4G
should be set to
Range/Values
32 - 4G

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents