|
1 | 1 | #jinja2: trim_blocks: True, lstrip_blocks: True |
2 | 2 | <?xml version="1.0"?> |
3 | 3 | {{ ansible_managed | comment('xml') }} |
4 | | -<yandex> |
| 4 | +<clickhouse> |
5 | 5 | <logger> |
6 | 6 | <!-- Possible levels: https://github.com/pocoproject/poco/blob/develop/Foundation/include/Poco/Logger.h#L105 --> |
7 | 7 | <level>{{ clickhouse_logger.level }}</level> |
|
61 | 61 | This setting could be used to switch replication to another network interface. |
62 | 62 | --> |
63 | 63 | <!-- |
64 | | - <interserver_http_host>example.yandex.ru</interserver_http_host> |
| 64 | + <interserver_http_host>example.clickhouse.com</interserver_http_host> |
65 | 65 | --> |
66 | 66 | {% if clickhouse_interserver_http_host is defined %} |
67 | 67 | <interserver_http_host>{{ clickhouse_interserver_http_host }}</interserver_http_host> |
|
146 | 146 | <mlock_executable>{{ clickhouse_mlock_status }}</mlock_executable> |
147 | 147 |
|
148 | 148 | <!-- Configuration of clusters that could be used in Distributed tables. |
149 | | - https://clickhouse.yandex/docs/en/table_engines/distributed/ |
| 149 | + https://clickhouse.com/docs/en/engines/table-engines/special/distributed/ |
150 | 150 | --> |
151 | 151 | <remote_servers incl="clickhouse_remote_servers" /> |
152 | 152 |
|
153 | 153 |
|
154 | 154 | <!-- If element has 'incl' attribute, then for it's value will be used corresponding substitution from another file. |
155 | 155 | By default, path to file with substitutions is /etc/metrika.xml. It could be changed in config in 'include_from' element. |
156 | | - Values for substitutions are specified in /yandex/name_of_substitution elements in that file. |
| 156 | + Values for substitutions are specified in /clickhouse/name_of_substitution elements in that file. |
157 | 157 | --> |
158 | 158 |
|
159 | 159 | <!-- ZooKeeper is used to store metadata about replicas, when using Replicated tables. |
160 | 160 | Optional. If you don't use replicated tables, you could omit that. |
161 | 161 |
|
162 | | - See https://clickhouse.yandex/docs/en/table_engines/replication/ |
| 162 | + See https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/ |
163 | 163 | --> |
164 | 164 | <zookeeper incl="zookeeper-servers" optional="true" /> |
165 | 165 |
|
166 | 166 | <!-- Substitutions for parameters of replicated tables. |
167 | 167 | Optional. If you don't use replicated tables, you could omit that. |
168 | | -
|
169 | | - See https://clickhouse.yandex/docs/en/table_engines/replication/#creating-replicated-tables |
| 168 | + See https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/replication/#creating-replicated-tables |
170 | 169 | --> |
171 | 170 | <macros incl="macros" optional="true" /> |
172 | 171 |
|
|
175 | 174 | <builtin_dictionaries_reload_interval>{{ clickhouse_config.builtin_dictionaries_reload_interval }}</builtin_dictionaries_reload_interval> |
176 | 175 |
|
177 | 176 | <!-- If true, dictionaries are created lazily on first use. Otherwise they are initialised on server startup. Default: true --> |
178 | | - <!-- See also: https://clickhouse.tech/docs/en/operations/server-configuration-parameters/settings/#server_configuration_parameters-dictionaries_lazy_load --> |
| 177 | + <!-- See also: https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#server_configuration_parameters-dictionaries_lazy_load --> |
179 | 178 | <dictionaries_lazy_load>{{ clickhouse_config.dictionaries_lazy_load }}</dictionaries_lazy_load> |
180 | 179 |
|
181 | 180 | <!-- Maximum session timeout, in seconds. Default: 3600. --> |
|
256 | 255 | <database>system</database> |
257 | 256 | <table>query_log</table> |
258 | 257 | <!-- |
259 | | - PARTITION BY expr https://clickhouse.yandex/docs/en/table_engines/custom_partitioning_key/ |
| 258 | + PARTITION BY expr https://clickhouse.com/docs/en/table_engines/mergetree-family/custom_partitioning_key/ |
260 | 259 | Example: |
261 | 260 | event_date |
262 | 261 | toMonday(event_date) |
|
291 | 290 |
|
292 | 291 |
|
293 | 292 | <!-- Parameters for embedded dictionaries, used in Yandex.Metrica. |
294 | | - See https://clickhouse.yandex/docs/en/dicts/internal_dicts/ |
| 293 | + See https://clickhouse.com/docs/en/dicts/internal_dicts/ |
295 | 294 | --> |
296 | 295 |
|
297 | 296 | <!-- Path to file with region hierarchy. --> |
|
302 | 301 |
|
303 | 302 |
|
304 | 303 | <!-- Configuration of external dictionaries. See: |
305 | | - https://clickhouse.yandex/docs/en/dicts/external_dicts/ |
| 304 | + https://clickhouse.com/docs/en/sql-reference/dictionaries/external-dictionaries/external-dicts |
306 | 305 | --> |
307 | 306 | <dictionaries_config>*_dictionary.xml</dictionaries_config> |
308 | 307 |
|
|
512 | 511 | </s3> |
513 | 512 | {% endif %} |
514 | 513 |
|
515 | | -</yandex> |
| 514 | +</clickhouse> |
0 commit comments