Skip to main content
Version: 3.11.0

SHOW INDEXES

The SHOW INDEXES statement shows the names of existing native indexes.

Syntax

SHOW {TAG | EDGE} INDEXES;

Examples

nebula> SHOW TAG INDEXES;
+------------------+----------+----------+
| Index Name | By Tag | Columns |
+------------------+----------+----------+
| "player_index_0" | "player" | [] |
| "player_index_1" | "player" | ["name"] |
+------------------+----------+----------+

nebula> SHOW EDGE INDEXES;
+----------------+----------+---------+
| Index Name | By Edge | Columns |
+----------------+----------+---------+
| "follow_index" | "follow" | [] |
+----------------+----------+---------+

:::compatibility Legacy version compatibility

In NebulaGraph 2.x, SHOW TAG/EDGE INDEXES only returns Names. :::