128 lines
3.6 KiB
YAML
128 lines
3.6 KiB
YAML
log_debug: false
|
|
hack_me_please: true
|
|
server:
|
|
http:
|
|
listen_addr: ":8124"
|
|
read_timeout: 6h
|
|
idle_timeout: 10m
|
|
|
|
#参数组,可设置多个参数
|
|
param_groups:
|
|
- name: "galaxy_query"
|
|
params:
|
|
- key: "optimize_on_insert"
|
|
value: "0"
|
|
- key: "async_socket_for_remote"
|
|
value: "0"
|
|
- key: "distributed_product_mode"
|
|
value: "local"
|
|
- key: "http_receive_timeout"
|
|
value: "600"
|
|
- key: "http_send_timeout"
|
|
value: "600"
|
|
- key: "receive_timeout"
|
|
value: "600"
|
|
- key: "send_timeout"
|
|
value: "600"
|
|
- key: "cancel_http_readonly_queries_on_client_close"
|
|
value: "1"
|
|
- key: "enable_http_compression"
|
|
value: "1"
|
|
- key: "replace_running_query"
|
|
value: "1"
|
|
- key: "skip_unavailable_shards"
|
|
value: "1"
|
|
- key: "max_execution_time"
|
|
value: "600"
|
|
- key: "timeout_before_checking_execution_speed"
|
|
value: "600"
|
|
- key: "use_uncompressed_cache"
|
|
value: "1"
|
|
- key: "count_distinct_implementation"
|
|
value: "uniqCombined"
|
|
- key: "distributed_aggregation_memory_efficient"
|
|
value: "1"
|
|
- key: "max_rows_to_group_by"
|
|
value: "10000000"
|
|
- key: "group_by_overflow_mode"
|
|
value: "any"
|
|
- name: "galaxy_report"
|
|
params:
|
|
- key: "optimize_on_insert"
|
|
value: "0"
|
|
- key: "async_socket_for_remote"
|
|
value: "0"
|
|
- key: "distributed_product_mode"
|
|
value: "local"
|
|
- key: "http_receive_timeout"
|
|
value: "21600"
|
|
- key: "http_send_timeout"
|
|
value: "21600"
|
|
- key: "receive_timeout"
|
|
value: "21600"
|
|
- key: "send_timeout"
|
|
value: "21600"
|
|
- key: "cancel_http_readonly_queries_on_client_close"
|
|
value: "1"
|
|
- key: "replace_running_query"
|
|
value: "1"
|
|
- key: "skip_unavailable_shards"
|
|
value: "1"
|
|
- key: "max_execution_time"
|
|
value: "21600"
|
|
- key: "timeout_before_checking_execution_speed"
|
|
value: "3600"
|
|
- key: "use_uncompressed_cache"
|
|
value: "1"
|
|
- key: "count_distinct_implementation"
|
|
value: "uniqCombined"
|
|
- key: "distributed_aggregation_memory_efficient"
|
|
value: "1"
|
|
- key: "max_rows_to_group_by"
|
|
value: "10000000"
|
|
- key: "group_by_overflow_mode"
|
|
value: "any"
|
|
- key: "max_bytes_before_external_group_by"
|
|
value: "75000000000"
|
|
- key: "group_by_overflow_mode"
|
|
value: "any"
|
|
- key: "group_by_overflow_mode"
|
|
value: "any"
|
|
|
|
users:
|
|
- name: "tsg_report"
|
|
params: "galaxy_report"
|
|
to_cluster: "report"
|
|
to_user: "tsg_report"
|
|
password: "galaxy2019"
|
|
max_queue_size: 100
|
|
max_queue_time: 21700s
|
|
|
|
- name: "tsg_query"
|
|
params: "galaxy_query"
|
|
to_cluster: "query"
|
|
to_user: "tsg_query"
|
|
password: "galaxy2018"
|
|
max_queue_size: 100
|
|
max_queue_time: 610s
|
|
|
|
- name: "default"
|
|
params: "galaxy_report"
|
|
to_cluster: "report"
|
|
to_user: "tsg_report"
|
|
password: "galaxy2019"
|
|
max_queue_size: 100
|
|
max_queue_time: 3610s
|
|
# by default each cluster has `default` user which can be overridden by section `users`
|
|
clusters:
|
|
- name: "report"
|
|
nodes: [ "10.10.115.1:8123", "10.10.115.2:8123" ]
|
|
users:
|
|
- name: "tsg_report"
|
|
password: "JSFZ@2024.report"
|
|
- name: "query"
|
|
nodes: [ "10.10.115.2:8123", "10.10.115.1:8123" ]
|
|
users:
|
|
- name: "tsg_query"
|
|
password: "JSFZ@2024.query"
|