From: Date: October 2 2007 6:15pm
Subject: svn commit - mysqldoc@docsrva: r7941 - trunk/refman-5.1
List-Archive: http://lists.mysql.com/commits/34764
Message-Id: <200710021615.l92GFrKc016281@docsrva.mysql.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: jstephens
Date: 2007-10-02 18:15:49 +0200 (Tue, 02 Oct 2007)
New Revision: 7941
Log:
New behaviour for --ndb_optimized_node_selection in CGE-6.3.4 (Mikael)
Modified:
trunk/refman-5.1/dba-core.xml
trunk/refman-5.1/mysql-cluster-cge.xml
trunk/refman-5.1/news-5.1.xml
Modified: trunk/refman-5.1/dba-core.xml
===================================================================
--- trunk/refman-5.1/dba-core.xml 2007-10-02 14:18:25 UTC (rev 7940)
+++ trunk/refman-5.1/dba-core.xml 2007-10-02 16:15:49 UTC (rev 7941)
Changed blocks: 1, Lines Added: 83, Lines Deleted: 4; 4504 bytes
@@ -6260,15 +6260,94 @@
- Causes an SQL node to contact the nearest data node in the
- cluster. Enabled by default. Set to 0
- or OFF to disable, in which case the
- SQL node attempts to contact data nodes in succession.
+ Causes an SQL node to use a data node on the same host
+ machine as transaction coordinator. Enabled by default.
+ Set to 0 or OFF to
+ disable, in which case the SQL node uses each data node in
+ the cluster in succession. When this option is disabled,
+ or if there is no data node process running on the same
+ host as the SQL node, the SQL node attempts to use a given
+ data node 8 times before proceeding to the next one.
Added in MySQL 4.1.9.
+
+ &mccge-warning-begin;
+
+
+ In MySQL 5.1.22-ndb-6.3.4 and later &mccge-series;
+ 6.3.x releases, this option
+ takes one of the integer values 0,
+ 1, 2, or
+ 3, with 1 being the
+ default. These values affect node selection as follows:
+
+
+
+
+
+ 0: Each data node is employed as
+ the transaction coordinator 8 times before the SQL
+ node proceeds to the next data node. (This is the
+ same behavior as caused by setting this option to
+ 0 or OFF in
+ previous MySQL versions.)
+
+
+
+
+
+ 1: If a data node process is
+ running on the the same host as the SQL node, this
+ data node is used as the transaction coordinator.
+ (This is the same behavior as caused by setting this
+ option to 1 or
+ ON in previous MySQL versions.)
+
+
+
+
+
+ 2: The SQL node follows the same
+ behavior as if this option had been set to
+ 1; however, the setting is
+ global.
+
+
+
+
+
+ 3: The data node housing the
+ cluster partition accessed by the first statement of
+ a given transaction is used as the transaction
+ coordinator for the entire transaction. This is
+ effective only if the first statement of the
+ transaction accesses no more than one cluster
+ partition; otherwise, the SQL node reverts to the
+ round-robin behavior seen when this option is set to
+ 0.
+
+
+
+
+
+
+
+ In MySQL 5.1.22-ndb-6.3.4 and later &mccge-series;
+ 6.3.x versions, it is no
+ longer possible to
+ to
+ ON or OFF;
+ attempting to do so causes mysqld
+ to abort with an error.
+
+
+
+
+ &mccge-warning-end-cluster;
+
Modified: trunk/refman-5.1/mysql-cluster-cge.xml
===================================================================
--- trunk/refman-5.1/mysql-cluster-cge.xml 2007-10-02 14:18:25 UTC (rev 7940)
+++ trunk/refman-5.1/mysql-cluster-cge.xml 2007-10-02 16:15:49 UTC (rev 7941)
Changed blocks: 1, Lines Added: 9, Lines Deleted: 0; 712 bytes
@@ -576,6 +576,15 @@
+
+
+ New values and behaviors are introduced for
+ allowing
+ for greater flexibility when an SQL node chooses a
+ transaction coordinator. (MySQL 5.1.22-ndb-6.3.4)
+
+
+
Modified: trunk/refman-5.1/news-5.1.xml
===================================================================
--- trunk/refman-5.1/news-5.1.xml 2007-10-02 14:18:25 UTC (rev 7940)
+++ trunk/refman-5.1/news-5.1.xml 2007-10-02 16:15:49 UTC (rev 7941)
Changed blocks: 1, Lines Added: 11, Lines Deleted: 0; 761 bytes
@@ -771,6 +771,17 @@
+
+
+ The startup
+ option for mysqld now allows a wider
+ range of values and corresponding behaviors for SQL nodes
+ when selecting a transaction coordinator. See
+ , for more
+ information.
+
+
+