Skip to main content
The SHOW CLUSTER SETTING displays the values of . To configure cluster settings, use .
The SHOW statement for cluster settings is unrelated to the other SHOW statements: , , , , , , and .

Details

  • To display the value of a specific cluster setting, use the following syntax:
  • To display the values of public cluster settings (i.e., cluster settings that are documented and for which tuning is supported), use one of the following:
  • To display the values of all cluster settings use one of the following:
    When you display all cluster settings, the table output includes a public column that denotes whether a setting is public or not.

Required privileges

To use the SHOW CLUSTER SETTING statement, a user must have one of the following attributes:
  • Be a member of the admin role (the root user belongs to the admin role by default).
  • Have the MODIFYCLUSTERSETTING granted.
  • Have the VIEWCLUSTERSETTING (or the legacy VIEWCLUSTERSETTING ) defined.
  • Have the MODIFYSQLCLUSTERSETTING granted. Users with this privilege are allowed to view only , not all cluster settings.

Synopsis

show_cluster_setting syntax diagram

Parameters

ParameterDescription
var\_nameThe name of the (case-insensitive).
ALLDisplay all cluster settings.
PUBLICDisplay only the public cluster settings. By default, only public settings are listed by SHOW CLUSTER SETTINGS. SHOW PUBLIC CLUSTER SETTINGS and SHOW CLUSTER SETTINGS are equivalent.

Response

When you query multiple cluster settings (e.g., with SHOW CLUSTER SETTINGS, or with SHOW ALL CLUSTER SETTINGS), the following fields are returned:
FieldDescription
variableThe name of the cluster setting.
valueThe value of the cluster setting.
setting_typeThe type of the cluster setting.
Possible values for setting_type include:
  • b (true or false)
  • z (size, in bytes)
  • d (duration)
  • e (one of a set of possible values)
  • f (floating-point value)
  • i (integer)
  • s (string)
descriptionA brief description of the cluster setting, including possible values.
publictrue if the cluster setting is public. This field is only included if all cluster settings are displayed.
default\_valueThe default value of the cluster setting.
originThe origin of the current value of the cluster setting.
Possible values for origin include:
  • default (The current value has not been changed from the default value.)
  • override (The current value has been changed from the default value.)

Examples

Show the value of a single cluster setting

Show the values of all public cluster settings

Show the values of all cluster settings

See also