doc/user/content/sql/show-clusters.md
SHOW CLUSTERS lists the clusters configured in Materialize.
SHOW CLUSTERS
[LIKE <pattern> | WHERE <condition(s)>]
;
| Syntax element | Description |
|---|---|
| LIKE <pattern> | If specified, only show clusters that match the pattern. |
| WHERE <condition(s)> | If specified, only show clusters that match the condition(s). |
When you enable a Materialize region, several clusters that are used to improve the user experience, as well as support system administration tasks, will be pre-installed.
quickstart clusterA cluster named quickstart with a size of 25cc and a replication factor of
1 will be pre-installed in every environment. You can modify or drop this
cluster at any time.
{{< note >}}
The default value for the cluster session parameter is quickstart.
If the quickstart cluster is dropped, you must run SET cluster
to choose a valid cluster in order to run SELECT queries. A superuser (i.e. Organization Admin)
can also run ALTER SYSTEM SET cluster to change the
default value.
{{< /note >}}
mz_catalog_server system clusterA system cluster named mz_catalog_server will be pre-installed in every
environment. This cluster has several indexes installed to speed up SHOW
commands and queries using the system catalog.
To take advantage of these indexes, Materialize will automatically re-route
SHOW commands and queries using system catalog objects to the
mz_catalog_server system cluster. You can disable this behavior in
your session via the auto_route_catalog_queries
configuration parameter.
The following characteristics apply to the mz_catalog_server cluster:
SELECT or SUBSCRIBE queries in this cluster as long
as you only reference objects in the system catalog.mz_probe system clusterA system cluster named mz_probe will be pre-installed in every environment.
This cluster is used for internal uptime monitoring.
The following characteristics apply to the mz_probe cluster:
SELECT or SUBSCRIBE queries in this cluster.mz_support system clusterA system cluster named mz_support will be pre-installed in every environment.
This cluster is used for internal support tasks.
The following characteristics apply to the mz_support cluster:
SELECT or SUBSCRIBE queries in this cluster.mz_system system clusterA system cluster named mz_system will be pre-installed in every environment.
This cluster is used for internal system jobs.
The following characteristics apply to the mz_system cluster:
SELECT or SUBSCRIBE queries in this cluster.SET CLUSTER = mz_catalog_server;
SHOW CLUSTERS;
name replicas
--------------------- | ------------------
default | r1 (25cc)
auction_house | r1 (25cc)
mz_catalog_server | r1 (50cc)
mz_system | r1 (50cc)
mz_probe | r1 (mz_probe)
mz_support |
SHOW CLUSTERS LIKE 'auction_%';
name replicas
--------------------- | ------------------
auction_house | r1 (25cc)