yc managed-clickhouse cluster add-external-dictionary
Add an external dictionary to a ClickHouse cluster.
Command Usage
Syntax:
yc managed-clickhouse cluster add-external-dictionary <CLUSTER-NAME>|<CLUSTER-ID> [Flags...] [Global Flags...]
Flags
|
Flag |
Description |
|
|
ID of the ClickHouse cluster. |
|
|
Name of the ClickHouse cluster. |
|
|
Display information about the operation in progress, without waiting for the operation to complete. |
|
|
Name to set for the external dictionary. |
|
|
Numeric key of the column for the dictionary. |
|
|
Specifies composite keys for the dictionary. Possible property names:
|
|
|
Description of the fields available for database queries. Possible property names:
|
|
|
Fixed time between dictionary updates. |
|
|
Range of possible time intervals between dictionary updates. Possible property names:
|
|
|
Layout type for the external dictionary. |
|
|
Number of cells in the cache. Rounded up to a power of two. Applicable only for cache and complex_key_cache layout types. |
|
|
Allows to read expired keys. Applicable only for cache and complex_key_cache layout types. |
|
|
Max size of update queue. Applicable only for cache and complex_key_cache layout types. |
|
|
Max timeout in milliseconds for push update task into queue. Applicable only for cache and complex_key_cache layout types. |
|
|
Max wait timeout in milliseconds for update task to complete. Applicable only for cache and complex_key_cache layout types. |
|
|
Max threads for cache dictionary update. Applicable only for cache and complex_key_cache layout types. |
|
|
Initial dictionary key size. Applicable only for flat layout type. |
|
|
Maximum dictionary key size. Applicable only for flat layout type. |
|
|
Allows to retrieve key attribute using dictGetString function. Applicable only for ip_trie layout type. |
|
|
URL of the source for the external HTTP dictionary. |
|
|
Data format for the external HTTP dictionary. |
|
|
Description of the source for the external HTTP dictionary. Possible property names:
|
|
|
Single HTTP header entry. Possible property names:
|
|
|
Description of the MongoDB source for the external dictionary. Possible property names:
|
|
|
Description of the ClickHouse source for the external dictionary. Possible property names:
|
|
|
Description of the MySQL source for the external dictionary Possible property names:
|
|
|
MySQL replica of the database to be used as the dictionary source. Possible property names:
|
|
|
Query for checking the dictionary status, to pull only updated data. |
|
|
Description of the PostgreSQL source for the external dictionary Possible property names:
|
|
|
Replica hosts names. |
|
|
Query for checking the dictionary status, to pull only updated data. |
Global Flags
|
Flag |
Description |
|
|
Set the custom configuration file. |
|
|
Debug logging. |
|
|
Debug gRPC logging. Very verbose, used for debugging connection problems. |
|
|
Disable printing user intended output to stderr. |
|
|
Enable gRPC retries. By default, retries are enabled with maximum 5 attempts. |
|
|
Set the ID of the cloud to use. |
|
|
Set the ID of the folder to use. |
|
|
Set the name of the folder to use (will be resolved to id). |
|
|
Set the Cloud API endpoint (host:port). |
|
|
Set the OAuth token to use. |
|
|
Set the ID of the service account to impersonate. |
|
|
Disable opening browser for authentication. |
|
|
Set the output format: text (default), yaml, json, json-rest. |
|
|
Query to select values from the response using jq syntax |
|
|
Display help for the command. |