최종 수정: 에
SHOW CATALOG
Description
Shows properties of specified catalog
Property Masking
The shared masking policy is planned for Doris 4.2.0 and for 5.0 and later releases. Sensitive properties display as *XXX; some internal properties are omitted. Explicit JDBC connection strings are entirely hidden, while ordinary URIs are sanitized according to their values. See Catalog property masking rules. The example below uses this policy; it does not describe 4.0, 4.1 or 3.x.
Syntax
SHOW CATALOG <catalog_name>
Required Parameters
1. <catalog_name>
The name of the catalog to be displayed.
Return Value
| Column Name | Description |
|---|---|
| Key | Configuration property name. |
| Value | Configuration property value. |
Access Control Requirements
| Privilege | Object | Notes |
|---|---|---|
| ADMIN_PRIV / SELECT_PRIV / LOAD_PRIV / ALTER_PRIV / CREATE_PRIV / SHOW_VIEW_PRIV / DROP_PRIV | Catalog | One of the above permissions is required. |
Examples
-
View specific catalog configuration details
show catalog test_mysql;+----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
| Key | Value |
+----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum | fdf55dcef04b09f2eaf42b75e61ccc9a |
| create_time | 2025-02-17 17:21:13.099 |
| driver_class | com.mysql.cj.jdbc.Driver |
| driver_url | mysql-connector-j-8.3.0.jar |
| jdbc_url | *XXX |
| password | *XXX |
| type | jdbc |
| use_meta_cache | true |
| user | root |
+----------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+