As described in “Batching – improving MySQL Cluster performance
when using the NDB API“, reducing the number of times the
application node has to access the data nodes can greatly improve
performance and reduce latency. That article focussed on setting
up multiple operatations (as part of a single transaction) and
then executing them as a single batch sent by the NDB API library
to the data nodes.
The purpose of this entry is to show how a single NDB API
operation can access multiple rows from a table with a single
index lookup. It goes on to explain the signifficance of this
both now and in the future (much faster joins using SQL for MySQL
Cluster tables).
There are several operation types to cover table scans and index
lookups (refer to the “ …
[Read more]