21.6.15.36 The ndbinfo table_distribution_status Table
The table_distribution_status table provides information about the progress of table distribution for NDB tables.
The table_distribution_status table contains the following columns:
-
node_idNode id
-
table_idTable ID
-
tab_copy_statusStatus of copying of table distribution data to disk; one of
IDLE,SR_PHASE1_READ_PAGES,SR_PHASE2_READ_TABLE,SR_PHASE3_COPY_TABLE,REMOVE_NODE,LCP_READ_TABLE,COPY_TAB_REQ,COPY_NODE_STATE,ADD_TABLE_MASTER,ADD_TABLE_SLAVE,INVALIDATE_NODE_LCP,ALTER_TABLE,COPY_TO_SAVE, orGET_TABINFO -
tab_update_statusStatus of updating of table distribution data; one of
IDLE,LOCAL_CHECKPOINT,LOCAL_CHECKPOINT_QUEUED,REMOVE_NODE,COPY_TAB_REQ,ADD_TABLE_MASTER,ADD_TABLE_SLAVE,INVALIDATE_NODE_LCP, orCALLBACK -
tab_lcp_statusStatus of table LCP; one of
ACTIVE(waiting for local checkpoint to be performed),WRITING_TO_FILE(checkpoint performed but not yet written to disk), orCOMPLETED(checkpoint performed and persisted to disk) -
tab_statusTable internal status; one of
ACTIVE(table exists),CREATING(table is being created), orDROPPING(table is being dropped) -
tab_storageTable recoverability; one of
NORMAL(fully recoverable with redo logging and checkpointing),NOLOGGING(recoverable from node crash, empty following cluster crash), orTEMPORARY(not recoverable) -
tab_partitionsNumber of partitions in table
-
tab_fragmentsNumber of fragments in table; normally same as
tab_partitions; for fully replicated tables equal totab_partitions * [number of node groups] -
current_scan_countCurrent number of active scans
-
scan_count_waitCurrent number of scans waiting to be performed before
ALTER TABLEcan complete. -
is_reorg_ongoingWhether table is currently being reorganized (1 if true)
Notes
The table_distribution_status table was added in NDB 7.5.4.
© 2025 Oracle
Licensed under the GPLv2 License.