The blocks table is a static table which
simply contains the names and internal IDs of all NDB kernel
blocks (see NDB Kernel Blocks). It
is for use by the other
ndbinfo tables (most of which
are actually views) in mapping block numbers to block names for
producing human-readable output.
The following table provides information about the columns in
the blocks table. For each column, the table
shows the name, data type, and a brief description. Additional
information can be found in the notes following the table.
| Column Name | Type | Description |
|---|---|---|
block_number | integer | Block number |
block_name | string | Block name |
To obtain a list of all block names, simply execute
SELECT block_name FROM ndbinfo.blocks.
Although this is a static table, its content can vary between
different NDB Cluster releases.