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

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_name: The ID or name of the deployment (cluster group) that contains the cluster.

  • pattern: Specifies a pattern similar to the SQL LIKE clause 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 LIMIT clause limits the number of results to the specified number.

  • By default, the result is sorted in the ascending order.

  • Specify the EXTENDED clause 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:

Was this article helpful?