Skip to content

SHOW CREATE SPACE

The SHOW CREATE SPACE statement shows the basic information of the specified graph space, such as the nGQL for creating the graph space, the partition number, the replica number.

For details about the graph space information, see CREATE SPACE.

Syntax

SHOW CREATE SPACE <space_name>

Example

nebula> SHOW CREATE SPACE basketballplayer;
+--------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| Space              | Create Space                                                                                                                                |
+--------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
| "basketballplayer" | "CREATE SPACE `basketballplayer` (partition_num = 10, replica_factor = 1, charset = utf8, collate = utf8_bin, vid_type = FIXED_STRING(32))" |
+--------------------+---------------------------------------------------------------------------------------------------------------------------------------------+
Got 1 rows (time spent 1747/2562 us)

Last update: April 13, 2021