Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.2.1 Column::ArrayType

Abstract

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.4 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.


User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.