Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Column::ArrayType


This type describes the Column's internal attribute format.

Description.  The attribute storage format can be either fixed or variable.

Enumeration values.  Possible values are shown, along with descriptions, in the following table:

Table 2.8 Column object ArrayType data type values and descriptions

Name Description
ArrayTypeFixed stored as a fixed number of bytes
ArrayTypeShortVar stored as a variable number of bytes; uses 1 byte overhead
ArrayTypeMediumVar stored as a variable number of bytes; uses 2 bytes overhead

The fixed storage format is faster but also generally requires more space than the variable format. The default is ArrayTypeShortVar for Var* types and ArrayTypeFixed for others. The default is usually sufficient.