This table provides NDB dictionary
information for NDB tables.
dictionary_tables contains the columns listed
here:
table_idThe table' unique ID
database_nameName of the database containing the table
table_nameName of the table
statusThe table status; one of
New,Changed,Retrieved,Invalid, orAltered. (See Object::Status, for more information about object status values.)attributesNumber of table attributes
primary_key_colsNumber of columns in the table's primary key
primary_keyA comma-separated list of the columns in the table's primary key
storageType of storage used by the table; one of
memory,disk, ordefaultloggingWhether logging is enabled for this table
dynamic1if the table is dynamic, otherwise0; the table is considered dynamic iftable->getForceVarPart()is true, or if at least one table column is dynamicread_backup1if read from any replica (READ_BACKUPoption is enabled for this table, otherwise0; see Section 15.1.20.12, “Setting NDB Comment Options”)fully_replicated1ifFULLY_REPLICATEDis enabled for this table (each data node in the cluster has a complete copy of the table),0if not; see Section 15.1.20.12, “Setting NDB Comment Options”checksumIf this table uses a checksum, the value in this column is
1; if not, it is0row_sizeThe amount of data, in bytes that can be stored in one row, not including any blob data stored separately in blob tables; see Table::getRowSizeInBytes(), in the API documentation, for more information
min_rowsMinimum number of rows, as used for calculating partitions; see Table::getMinRows(), in the API documentation, for more information
max_rowsMaximum number of rows, as used for calculating partitions; see Table::getMaxRows(), in the API documentation, for more information
tablespaceID of the tablespace to which the table belongs, if any; this is
0, if the table does not use data on diskfragment_typeThe table's fragment type; one of
Single,AllSmall,AllMedium,AllLarge,DistrKeyHash,DistrKeyLin,UserDefined,unused, orHashMapPartition; for more information, see Object::FragmentType, in the NDB API documentationhash_mapThe hash map used by the table
fragmentsNumber of table fragments
partitionsNumber of partitions used by the table
partition_balanceType of partition balance used, if any; one of
FOR_RP_BY_NODE,FOR_RA_BY_NODE,FOR_RP_BY_LDM,FOR_RA_BY_LDM,FOR_RA_BY_LDM_X_2,FOR_RA_BY_LDM_X_3, orFOR_RA_BY_LDM_X_4; see Section 15.1.20.12, “Setting NDB Comment Options”contains_GCI1if the table includes a global checkpoint index, otherwise0single_user_modeType of access allowed to the table when single user mode is in effect; one of
locked,read_only, orread_write; these are equivalent to the valuesSingleUserModeLocked,SingleUserModeReadOnly, andSingleUserModeReadWrite, respectively, of theTable::SingleUserModetype in the NDB APIforce_var_partThis is
1iftable->getForceVarPart()is true for this table, and0if it is notGCI_bitsUsed in testing
author_bitsUsed in testing