- Categories:
System functions (System Information)
SYSTEM$GET_CATALOG_LINKED_DATABASE_CONFIG¶
Returns the configuration parameters set on the specified catalog-linked database. The output is in JSON format.
Syntax¶
Arguments¶
catalog_linked_database_nameThe name of the catalog-linked database you want to get the configuration for.
Specify it as a string literal enclosed in single quotes.
Returns¶
The function returns a string that contains a JSON object with the database’s configuration parameters.
Field |
Description |
|---|---|
|
Name of the catalog integration used by the catalog-linked database. |
|
Name of the catalog namespace in the external catalog. Returns |
|
Name of the external volume used for table storage. |
|
Interval (in seconds) that Snowflake polls the remote catalog to detect changes. |
|
Mode for handling namespaces. Possible values: |
|
Delimiter used when flattening nested namespaces. Only applicable when |
|
Types of write operations allowed on the catalog-linked database. Possible values: |
|
Case sensitivity setting for the catalog. Possible values: |
|
Whether the catalog-linked database synchronization is suspended. Returns |
|
List of namespaces that are allowed to be synced. Returns |
|
List of namespaces that are blocked from being synced. Returns |
For a sample output, see Examples.
Access control requirements¶
A role used to execute this operation must have the MONITOR, USAGE, OWNERSHIP, or ALL privilege.
For instructions on creating a custom role with a specified set of privileges, see Creating custom roles.
For general information about roles and privilege grants for performing SQL actions on securable objects, see Overview of Access Control.
Examples¶
Get the configuration for a catalog-linked database named my_db:
An example output: