title: "SHOW SOURCES"
description: "SHOW SOURCES
returns a list of all sources available in Materialize."
menu:
main:
parent: commands
SHOW SOURCES
returns a list of all sources available in Materialize.
SHOW SOURCES [ FROM <schema_name> ] [ IN CLUSTER <cluster_name> ]
Option | Description |
---|---|
FROM | If specified, only show sources from the specified schema. Defaults to first resolvable schema in the search path. For available schemas, see SHOW SCHEMAS . |
IN CLUSTER | If specified, only show sources from the specified cluster. For available clusters, see SHOW CLUSTERS . |
Field | Meaning |
---|---|
name | The name of the source. |
type | The type of the source: kafka , postgres , load-generator , progress , or subsource . |
cluster | The cluster the source is associated with. |
SHOW SOURCES;
name | type | cluster
--------------------+----------+---------
my_kafka_source | kafka | c1
my_postgres_source | postgres | c2
SHOW SOURCES IN CLUSTER c2;
name | type | cluster
-------------------+----------+--------
my_postgres_source | postgres | c2