SHOW CATALOGS
SHOW CATALOGS
Description
Query all catalogs in the current StarRocks cluster, including the internal catalog and external catalogs.
NOTE
SHOW CATALOGS returns external catalogs to users who have the USAGE privilege on that external catalog. If users or roles do not have this privilege on any external catalog, this command returns only the default_catalog.
Syntax
SHOW CATALOGS
Output
+----------+--------+----------+
| Catalog | Type | Comment |
+----------+--------+----------+
The following table describes the fields returned by this statement.
Field | Description |
---|---|
Catalog | The catalog name. |
Type | The catalog type. |
Comment | The comments of a catalog. StarRocks does not support adding comments to an external catalog. Therefore, the value is |
Examples
Query all catalogs in the current cluster.
SHOW CATALOGS\G
*************************** 1. row ***************************
Catalog: default_catalog
Type: Internal
Comment: An internal catalog contains this cluster's self-managed tables.
*************************** 2. row ***************************
Catalog: hudi_catalog
Type: Hudi
Comment: NULL
*************************** 3. row ***************************
Catalog: iceberg_catalog
Type: Iceberg
Comment: NULL