# listTables {#listtables}

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

## Syntax {#syntax}

`listTables(dbUrl)`

## Arguments {#arguments}

**dbUrl** is a string indicating the local path or DFS path of a database.

## Details {#details}

Return a table of two columns, tableName and physicalIndex. Please note that only the database with chunks of the table level can have physical indices.

## Examples {#examples}

```
listTables(dbPath)
```

|tableName|physicalIndex|
|---------|-------------|
|pt1|1By|
|pt|1Bw|

