Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual

2.3.13 The LogfileGroup Class


This section discusses the LogfileGroup class, which represents an NDB Cluster Disk Data logfile group.

Parent class.  NdbDictionary

Child classes.  None

Description.  This class represents an NDB Cluster Disk Data logfile group, which is used for storing Disk Data undofiles. For general information about logfile groups and undofiles, see NDB Cluster Disk Data Tables, in the MySQL Manual.


Only unindexed column data can be stored on disk. Indexes and indexes columns are always stored in memory.

Methods.  The following table lists the public methods of this class and the purpose or use of each method:

Table 2.28 LogfileGroup class methods and descriptions

Name Description
LogfileGroup() Class constructor
~LogfileGroup() Virtual destructor
getAutoGrowSpecification() Gets the logfile group's AutoGrowSpecification values
getName() Retrieves the logfile group's name
getObjectId() Get the object ID of the logfile group
getObjectStatus() Gets the logfile group's object status value
getObjectVersion() Retrieves the logfile group's object version
getUndoBufferSize() Gets the size of the logfile group's UNDO buffer
getUndoFreeWords() Retrieves the amount of free space in the UNDO buffer
setAutoGrowSpecification() Sets AutoGrowSpecification values for the logfile group
setName() Sets the name of the logfile group
setUndoBufferSize() Sets the size of the logfile group's UNDO buffer.

Types.  The LogfileGroup class does not itself define any public types. However, two of its methods make use of the AutoGrowSpecification data structure as a parameter or return value. For more information, see Section 2.3.1, “The AutoGrowSpecification Structure”.