getHaMvccTableInfo

Syntax

getHaMvccTableInfo(groupId)

Details

Retrieves the metadata of all HA MVCC tables in the specified HA MVCC Raft group.

Notes: This function must be executed on a member node of the Raft group.

Parameters

groupId is an integer indicating the HA MVCC Raft group ID.

Returns

Returns a table containing the following columns (column names are subject to the actual system output):

  • tableName: STRING
  • rows: LONG
  • memoryUsed: LONG
  • schema: STRING
  • defaultValues: STRING
  • allowNull: STRING

Examples

getHaMvccTableInfo(5)
tableName rows memoryUsed schema defaultValues allowNull
demoHaMvcc 0 640 name:STRING, id:INT, value:DOUBLE A001, 1, 3.6 false, true, false

Related function: haMvccTable