getTSDBMetaData

Syntax

getTSDBMetaData()

Arguments

None

Details

Obtain the metadata of all chunks in the TSDB engine. The function can only be executed on a data node.

It return a table with the following columns:

  • chunkId: the chunk ID

  • chunkPath: the physical path of the chunk

  • level: the file level

  • table: the table name

  • files: the level file name

Examples

getTSDBMetaData()
chunkId chunkPath level table files
7e0c65ca-5e4a-4594-2948-fa0b5... /hdd/hdd7/test/v... 0 pt_2 0_00211490,0_002115580
7e0c65ca-5e4a-4594-2948-fa0b5... /hdd/hdd7/test/v... 1 pt_2 1_00013041