Abstract
This section discusses the LogfileGroup
class,
which represents a MySQL Cluster Disk Data logfile group.
Parent class. NdbDictionary
Child classes. None
Description. This class represents a MySQL Cluster Disk Data logfile group, which is used for storing Disk Data undofiles. For general information about logfile groups and undofiles, see the MySQL Cluster Disk Data Tables, in the MySQL Manual.
In MySQL 5.1, only unindexed column data can be stored on disk. Indexes and indexes columns continue to be stored in memory as with previous versions of MySQL Cluster.
Versions of MySQL prior to 5.1 do not support Disk Data storage
and so do not support logfile groups; thus the
LogfileGroup
class is unavailable for NDB API
applications written against these MySQL versions.
Methods. The following table lists the public methods of this class and the purpose or use of each method:
Method | Purpose / Use |
---|---|
LogfileGroup() |
Class constructor |
~LogfileGroup() |
Virtual destructor |
getName() |
Retrieves the logfile group's name |
getUndoBufferSize() |
Gets the size of the logfile group's UNDO buffer |
getAutoGrowSpecification() |
Gets the logfile group's AutoGrowSpecification values |
getUndoFreeWords() |
Retrieves the amount of free space in the UNDO buffer |
getObjectStatus() |
Gets the logfile group's object status value |
getObjectVersion() |
Retrieves the logfile group's object version |
getObjectId() |
Get the object ID of the logfile group |
setName() |
Sets the name of the logfile group |
setUndoBufferSize() |
Sets the size of the logfile group's UNDO buffer. |
setAutoGrowSpecification() |
Sets AutoGrowSpecification values for the logfile
group |
For detailed descriptions, signatures, and examples of use for each
of these methods, see Section 2.3.6.1, “LogfileGroup
Methods”.
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.26, “The AutoGrowSpecification
Structure”.
Class diagram.
This diagram shows all the available public methods of the
LogfileGroup
class: