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: SHOW {session variable}, SHOW CREATE, SHOW USERS, SHOW DATABASES, SHOW COLUMNS, SHOW GRANTS, and SHOW CONSTRAINTS.

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

Response

When you query multiple cluster settings (e.g., with SHOW CLUSTER SETTINGS, or with SHOW ALL CLUSTER SETTINGS), the following fields are returned:

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