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
publiccolumn that denotes whether a setting is public or not.
Required privileges
To use theSHOW CLUSTER SETTING statement, a user must have one of the following attributes:
- Be a member of the
adminrole (therootuser belongs to theadminrole by default). - Have the
MODIFYCLUSTERSETTINGgranted. - Have the
VIEWCLUSTERSETTING(or the legacyVIEWCLUSTERSETTING) defined. - Have the
MODIFYSQLCLUSTERSETTINGgranted. Users with this privilege are allowed to view only , not all cluster settings.
Synopsis
Parameters
| Parameter | Description |
|---|---|
var_name | The name of the (case-insensitive). |
ALL | Display all cluster settings. |
PUBLIC | Display 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., withSHOW CLUSTER SETTINGS, or with SHOW ALL CLUSTER SETTINGS), the following fields are returned:
| Field | Description |
|---|---|
variable | The name of the cluster setting. |
value | The value of the cluster setting. |
setting_type | The type of the cluster setting. Possible values for setting_type include:
|
description | A brief description of the cluster setting, including possible values. |
public | true if the cluster setting is public.This field is only included if all cluster settings are displayed. |
default_value | The default value of the cluster setting. |
origin | The origin of the current value of the cluster setting. Possible values for origin include:
|

