SHOW CLUSTER SETTING statement displays the values of cluster settings.
To configure cluster settings, use SET CLUSTER SETTING.
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
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
MODIFYCLUSTERSETTINGsystem-level privilege granted. - Have the
VIEWCLUSTERSETTINGsystem-level privilege (or the legacyVIEWCLUSTERSETTINGrole option) defined. - Have the
MODIFYSQLCLUSTERSETTINGsystem-level privilege granted. Users with this privilege are allowed to view onlysql.defaults.*cluster settings, not all cluster settings.
Synopsis
Parameters
Response
When you query multiple cluster settings (e.g., withSHOW CLUSTER SETTINGS, or with SHOW ALL CLUSTER SETTINGS), the following fields are returned:

