Important
Helios features are now enabled during weekly update windows and are no longer directly tied to SingleStore engine releases. Refer to the release notes to view the latest features available in your Helios cluster.
SHOW WORKSPACES
On this page
The SHOW WORKSPACES command returns information on clusters.
Syntax
SHOW WORKSPACES [ IN GROUP { ID '<group_ID>' | '<group_name>' } ]
[ LIKE '<pattern>' ] [ EXTENDED ]
[ ORDER BY '<key>' [ ASC | DESC ],... ] [ LIMIT <limit> ]Arguments
-
group_,ID group_: The ID or name of the deployment (cluster group) that contains the cluster.name -
pattern: Specifies a pattern similar to the SQLLIKEclause and returns clusters with names that match the specified pattern.Uses %as the wildcard character. -
key: Key used to sort the result set. -
limit: An integer value.
Remarks
-
The
LIMITclause limits the number of results to the specified number. -
By default, the result is sorted in the ascending order.
-
Specify the
EXTENDEDclause to return more information on the files.
Example
The following command returns information on all the clusters in the cluster group named s2-group and sorts the result by Name in the ascending order:
SHOW WORKSPACES IN GROUP 's2-group' EXTENDED ORDER BY Name;
Last modified: