yc managed-clickhouse cluster update-external-dictionary
Written by
Updated at June 20, 2025
Update an external dictionary in a ClickHouse cluster.
Command Usage
Syntax:
yc managed-clickhouse cluster update-external-dictionary <CLUSTER-NAME>|<CLUSTER-ID> [Flags...] [Global Flags...]
Flags
| Flag | Description |
|---|---|
--id |
stringID of the ClickHouse cluster. |
--name |
stringName of the ClickHouse cluster. |
--async |
Display information about the operation in progress, without waiting for the operation to complete. |
--dict-name |
stringName to set for the external dictionary. |
--structure-id |
stringNumeric key of the column for the dictionary. |
--structure-key |
PROPERTY=VALUE[,PROPERTY=VALUE...]Specifies composite keys for the dictionary. Possible property names:
|
--structure-attribute |
PROPERTY=VALUE[,PROPERTY=VALUE...]Description of the fields available for database queries. Possible property names:
|
--fixed-lifetime |
intFixed time between dictionary updates. |
--lifetime-range |
PROPERTY=VALUE[,PROPERTY=VALUE...]Range of possible time intervals between dictionary updates. Possible property names:
|
--layout-type |
stringLayout type for the external dictionary. |
--layout-size-in-cells |
intNumber of cells in the cache. Rounded up to a power of two. Applicable only for cache and complex_key_cache layout types. |
--layout-allow-read-expired-keys |
Allows to read expired keys. Applicable only for cache and complex_key_cache layout types. |
--layout-max-update-queue-size |
intMax size of update queue. Applicable only for cache and complex_key_cache layout types. |
--layout-update-queue-push-timeout-milliseconds |
intMax timeout in milliseconds for push update task into queue. Applicable only for cache and complex_key_cache layout types. |
--layout-query-wait-timeout-milliseconds |
intMax wait timeout in milliseconds for update task to complete. Applicable only for cache and complex_key_cache layout types. |
--layout-max-threads-for-updates |
intMax threads for cache dictionary update. Applicable only for cache and complex_key_cache layout types. |
--layout-initial-array-size |
intInitial dictionary key size. Applicable only for flat layout type. |
--layout-max-array-size |
intMaximum dictionary key size. Applicable only for flat layout type. |
--layout-access-to-key-from-attributes |
Allows to retrieve key attribute using dictGetString function. Applicable only for ip_trie layout type. |
--http-source-url |
stringURL of the source for the external HTTP dictionary. |
--http-source-format |
stringData format for the external HTTP dictionary. |
--http-source |
PROPERTY=VALUE[,PROPERTY=VALUE...]Description of the source for the external HTTP dictionary. Possible property names:
|
--http-header |
PROPERTY=VALUE[,PROPERTY=VALUE...]Single HTTP header entry. Possible property names:
|
--mongodb-source |
PROPERTY=VALUE[,PROPERTY=VALUE...]Description of the MongoDB source for the external dictionary. Possible property names:
|
--clickhouse-source |
PROPERTY=VALUE[,PROPERTY=VALUE...]Description of the ClickHouse source for the external dictionary. Possible property names:
|
--mysql-source |
PROPERTY=VALUE[,PROPERTY=VALUE...]Description of the MySQL source for the external dictionary Possible property names:
|
--mysql-replica |
PROPERTY=VALUE[,PROPERTY=VALUE...]MySQL replica of the database to be used as the dictionary source. Possible property names:
|
--mysql-invalidate-query |
stringQuery for checking the dictionary status, to pull only updated data. |
--postgresql-source |
PROPERTY=VALUE[,PROPERTY=VALUE...]Description of the PostgreSQL source for the external dictionary Possible property names:
|
--postgresql-source-hosts |
value[,value]Replica hosts names. |
--postgresql-invalidate-query |
stringQuery for checking the dictionary status, to pull only updated data. |
Global Flags
| Flag | Description |
|---|---|
--profile |
stringSet the custom configuration file. |
--debug |
Debug logging. |
--debug-grpc |
Debug gRPC logging. Very verbose, used for debugging connection problems. |
--no-user-output |
Disable printing user intended output to stderr. |
--retry |
intEnable gRPC retries. By default, retries are enabled with maximum 5 attempts. Pass 0 to disable retries. Pass any negative value for infinite retries. Even infinite retries are capped with 2 minutes timeout. |
--cloud-id |
stringSet the ID of the cloud to use. |
--folder-id |
stringSet the ID of the folder to use. |
--folder-name |
stringSet the name of the folder to use (will be resolved to id). |
--endpoint |
stringSet the Cloud API endpoint (host:port). |
--token |
stringSet the OAuth token to use. |
--impersonate-service-account-id |
stringSet the ID of the service account to impersonate. |
--no-browser |
Disable opening browser for authentication. |
--format |
stringSet the output format: text (default), yaml, json, json-rest. |
--jq |
stringQuery to select values from the response using jq syntax |
-h,--help |
Display help for the command. |