-
Notifications
You must be signed in to change notification settings - Fork 0
/
override-config.xml
65 lines (54 loc) · 2.15 KB
/
override-config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<clickhouse>
<listen_host>::</listen_host>
<logger>
<level>information</level>
<formatting>
<type>json</type>
</formatting>
</logger>
<!-- limit the maximum number of simultaneously processed queries - choose 2*cpu_cores (default: unlimited) -->
<max_concurrent_queries>4</max_concurrent_queries>
<!-- lower mark cache size from 5GB to 1GB -->
<mark_cache_size>1073741824</mark_cache_size>
<!-- lower memory requirements at the expense of slower merges - choose 1024 to 4096 (default: 8192) -->
<merge_max_block_size>1024</merge_max_block_size>
<!-- control the maximum total parts size to be merged into one part - choose 1 to 4GB (default: 150GB) -->
<max_bytes_to_merge_at_max_space_in_pool>1073741824</max_bytes_to_merge_at_max_space_in_pool>
<merge_tree>
<number_of_free_entries_in_pool_to_lower_max_size_of_merge>0</number_of_free_entries_in_pool_to_lower_max_size_of_merge>
</merge_tree>
<timezone>UTC</timezone>
<url_scheme_mappers>
<gs>
<from>gs://{bucket}/</from>
<to from_env="GOOGLE_STORAGE_BUCKET_ENDPOINT"></to>
</gs>
</url_scheme_mappers>
<s3>
<gs_endpoint>
<endpoint>https://storage.googleapis.com</endpoint>
<access_key_id from_env="GOOGLE_STORAGE_HMAC_KEY_ID"></access_key_id>
<secret_access_key from_env="GOOGLE_STORAGE_HMAC_KEY_SECRET"></secret_access_key>
</gs_endpoint>
</s3>
<s3queue_log>
<database>system</database>
<table>s3queue_log</table>
</s3queue_log>
<keeper_server>
<tcp_port>2181</tcp_port>
<server_id>1</server_id>
<coordination_settings>
<operation_timeout_ms>10000</operation_timeout_ms>
<session_timeout_ms>30000</session_timeout_ms>
<raft_logs_level>warning</raft_logs_level>
</coordination_settings>
<raft_configuration>
<server>
<id>1</id>
<hostname>127.0.0.1</hostname>
<port>9444</port>
</server>
</raft_configuration>
</keeper_server>
</clickhouse>