# getTSDBMetaData {#gettsdbmetadata}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`getTSDBMetaData()`

## Arguments {#arguments}

None

## Details {#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 {#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|

