Skip to content
Developer Edition runs on one host and does not require a product license file. Need multi-host deployment or performance testing at scale? Explore Enterprise Edition

SHOW SERVICE CONFIGS command

The SHOW SERVICE CONFIGS command lists the configuration options set for the currently connected Graph service or a specified Storage service, including:

  • Static configuration options set in service configuration files.
  • Dynamic configuration options set using SERVICE SET or SERVICE RESET.

The values of dynamic configuration options override the values of the same configuration options in the service configuration file.

SHOW SERVICE CONFIGS

Returns configuration options for the currently connected Graph service.

SHOW SERVICE CONFIGS "<storage_ip_port>"

Returns configuration options for the specified Storage service (e.g., "192.168.1.10:9779").

The following table describes the returned information:

Column Description
name The name of the configuration option.
type The data type of the configuration option.
value The runtime value of the configuration option.
default_value The default value of the configuration option.
scope The type of the configuration option. Valid values: GLOBAL, SERVICE, and SESSION.
deprecated Whether the configuration option is deprecated. Valid values are:
false: indicates that the option is not deprecated.
true: indicates that it is deprecated.
mutable Whether the configuration option supports dynamic modification at runtime. Valid values are:
false: indicates that the option cannot be dynamically modified.
true: indicates that it can be dynamically modified.
since The NebulaGraph Database Developer Edition version in which the configuration option was introduced.
description The description of the configuration option.

Syntax

show_service_configs_command
SHOW SERVICE CONFIGS " storage_ip_port "

show_service_configs_command ::=
    'SHOW' 'SERVICE' 'CONFIGS' ('"'storage_ip_port'"')?

Parameters

storage_ip_port

The IP address and port number of the Storage service whose configuration is to be viewed. If specified, it must be enclosed in single or double quotes.

Examples

View static and dynamic (SERVICE SET) configuration options for the current Graph service.

SERVICE SET GRAPH timezone = "Asia/Shanghai" // Set the timezone to Asia/Shanghai
SHOW SERVICE CONFIGS

Return:

+-----------------------------------+--------+------------------------------------------------+------------------------+---------+------------+---------+-------+-----------------------------------------------------------------------------------------------------------------------------------------+
| name                              | type   | value                                          | default_value          | scope   | deprecated | mutable | since | description                                                                                                                             |
+-----------------------------------+--------+------------------------------------------------+------------------------+---------+------------+---------+-------+-----------------------------------------------------------------------------------------------------------------------------------------+
| timezone                          | STRING | Asia/Shanghai                                  | UTC                    | SESSION | false      | true    | 5.0.0 | timezone of current session                                                                                                             |
...
+-----------------------------------+--------+------------------------------------------------+------------------------+---------+------------+---------+-------+-----------------------------------------------------------------------------------------------------------------------------------------+

View static configuration options for a specified Storage service.

SHOW SERVICE CONFIGS "192.168.8.129:9779"

Return:

+-------------------------------+--------+--------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------+---------+------------+---------+-------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| name                          | type   | value                                                                                | default_value                                                                        | scope   | deprecated | mutable | since | description                                                                                                                                                                                   |
+-------------------------------+--------+--------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------+---------+------------+---------+-------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
...
| http_port                     | INT64  | 10007                                                                                | 19779                                                                                | SERVICE | false      | false   | 5.0.0 | Port to listen on with HTTP protocol                                                                                                                                                          |
+-------------------------------+--------+--------------------------------------------------------------------------------------+--------------------------------------------------------------------------------------+---------+------------+---------+-------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+