Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

MySQL NDB Cluster API Developer Guide  /  ...  /  NdbTransaction::setMaxPendingBlobReadBytes() NdbTransaction::setMaxPendingBlobReadBytes()

Description.  Sets the batch size in bytes for BLOB read operations. When the volume of BLOB data to be read within a given transaction exceeds this amount, all of the transaction's pending BLOB read operations are executed.


void setMaxPendingBlobReadBytes
      Uint32 bytes

Parameters.  The batch size, as the number of bytes. Using 0 causes BLOB read batching to be disabled, which is the default behavior (for backward compatibility).

Return value.  None.


BLOB read batching can also be controlled in the mysql client and other MySQL client application using the MySQL Server's --ndb-blob-read-batch-bytes option and its associated MySQL Server system variables.