Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.31.1 Object::FragmentType

Abstract

This type describes the Object's fragmentation type.

Description.  This parameter specifies how data in the table or index is distributed among the cluster's storage nodes, that is, the number of fragments per node. The larger the table, the larger the number of fragments that should be used. Note that all replicas count as a single fragment. For a table, the default is FragAllMedium. For a unique hash index, the default is taken from the underlying table and cannot currently be changed.

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

Table 2.68 FragmentType values and descriptions

Name Description
FragUndefined The fragmentation type is undefined or the default
FragAllMedium Two fragments per node
FragAllLarge Four fragments per node
DistrKeyHash Distributed hash key
DistrKeyLin Distributed linear hash key
UserDefined User defined
HashMapPartition Hash map partition


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.