forked from openGemini/openGemini
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenGemini.conf
More file actions
223 lines (209 loc) · 6.57 KB
/
Copy pathopenGemini.conf
File metadata and controls
223 lines (209 loc) · 6.57 KB
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
[common]
meta-join = ["{{meta_addr_1}}:8092", "{{meta_addr_2}}:8092", "{{meta_addr_3}}:8092"]
# the shared storage-based store whether support HA.
# SQL: control read and write to right store
# STORE: control whether DBPT autoload
# META: control whether to takeover
# ha-enable = false
# executor-memory-size-limit = "0"
# executor-memory-wait-time = "0s"
# pprof-enabled = false
# cpu-num = 0
# memory-size = "0"
# ignore-empty-tag = false
# report-enable = true
# enable-tag-array = false
[meta]
bind-address = "{{addr}}:8088"
http-bind-address = "{{addr}}:8091"
rpc-bind-address = "{{addr}}:8092"
dir = "/tmp/openGemini/data/meta/{{id}}"
#
# expand-shards-enable = false
# retention-autocreate = true
# election-timeout = "1s"
# heartbeat-timeout = "1s"
# leader-lease-timeout = "500ms"
# commit-timeout = "50ms"
# cluster-tracing = true
# logging-enabled = true
# lease-duration = "1m0s"
# meta-version = 2
# split-row-threshold = 10000
# imbalance-factor = 0.3
# auth-enabled = false
# https-enabled = false
# https-certificate = ""
# https-private-key = ""
# ptnum-pernode = 1
# [coordinator]
# write-timeout = "120s"
# shard-writer-timeout = "30s"
# shard-mapper-timeout = "10s"
# max-remote-write-connections = 100
# max-remote-read-connections = 100
# shard-tier = "warm"
# rp-limit = 100
# force-broadcast-query = false
# time-range-limit = ["72h", "24h"]
[http]
bind-address = "{{addr}}:8086"
# auth-enabled = false
# weakpwd-path = "/tmp/openGemini/weakpasswd.properties"
# pprof-enabled = false
# max-connection-limit = 0
# max-concurrent-write-limit = 0
# max-enqueued-write-limit = 0
# enqueued-write-timeout = "30s"
# max-concurrent-query-limit = 0
# max-enqueued-query-limit = 0
# enqueued-query-timeout = "5m"
# chunk-reader-parallel = 0
# max-body-size = 0
# https-enabled = false
# https-certificate = ""
# https-private-key = ""
[data]
store-ingest-addr = "{{addr}}:8400"
store-select-addr = "{{addr}}:8401"
store-data-dir = "/tmp/openGemini/data"
store-wal-dir = "/tmp/openGemini/data"
store-meta-dir = "/tmp/openGemini/data/meta/{{id}}"
# wal-enabled = true
# wal-sync-interval = "100ms"
# wal-replay-parallel = false
# wal-replay-async = false
# imm-table-max-memory-percentage = 10
# write-cold-duration = "5s"
# shard-mutable-size-limit = "60m"
# node-mutable-size-limit = "200m"
# max-write-hang-time = "15s"
# max-concurrent-compactions = 4
# compact-full-write-cold-duration = "1h"
# max-full-compactions = 1
# compact-throughput = "80m"
# compact-throughput-burst = "90m"
# compact-recovery = false
# snapshot-throughput = "64m"
# snapshot-throughput-burst = "70m"
# Whether to cache data blocks in hot shard
cache-table-data-block = false
## Whether to cache meta blocks in hot shard
cache-table-meta-block = false
## Whether to use mmap ability
# enable-mmap-read = false
## The limit of read cache use size, The unit is byte, less than or equal to 0 is unused, recommend 5368709120 if use
read-cache-limit = 0
# write-concurrent-limit = 0
# open-shard-limit = 0
# readonly = false
# downsample-write-drop = true
# query will be estimated abd limited by resource manager
# max-wait-resource-time = "0s"
# max-series-parallelism-num = 0
# max-shards-parallelism-num = 0
# when create group cursor, the parallelism num will be estimated by resource allocator according to the chunk-reader-threshold and min-chunk-reader-concurrency
# chunk-reader-threshold = 0
# min-chunk-reader-concurrency = 0
# minimum shards number for initializing shards in parallel
# min-shards-concurrency = 0
# max-downsample-task-concurrency defines the max downsample task num at the same time
# max-downsample-task-concurrency = 0
# [data.ops-monitor]
# store-http-addr = "{{addr}}:8402"
# auth-enabled = false
# store-https-enabled = false
# store-https-certificate = ""
# [retention]
# enabled = true
# check-interval = "30m"
# [downsample]
# enable = true
# check-interval = "30m"
[logging]
# format = "auto"
# level = "info"
path = "/tmp/openGemini/logs/{{id}}"
# max-size = "64m"
# max-num = 16
# max-age = 7
# compress-enabled = true
# [tls]
# min-version = "TLS1.2"
# ciphers = [
# "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
# "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
# "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
# "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
# ]
# [monitor]
# pushers = ""
# store-enabled = false
# store-database = "_internal"
# store-interval = "10s"
# store-path = "/tmp/openGemini/metric/{{id}}/metric.data"
# compress = false
# http-endpoint = "127.0.0.1:8086"
# username = ""
# password = ""
[gossip]
# enabled = true
# log-enabled = true
bind-address = "{{addr}}"
store-bind-port = 8011
meta-bind-port = 8010
# prob-interval = '1s'
# suspicion-mult = 4
members = ["{{meta_addr_1}}:8010", "{{meta_addr_2}}:8010", "{{meta_addr_3}}:8010"]
# [spdy]
# recv-window-size = 8
# concurrent-accept-session = 4096
# open-session-timeout = "5m"
# session-select-timeout = "5m"
# data-ack-timeout = "10s"
# tcp-dial-timeout = "5s"
# tls-enable = false
# tls-insecure-skip-verify = false
# tls-client-auth = false
# tls-certificate = ""
# tls-private-key = ""
# tls-server-name = ""
# conn-pool-size = 4
# tls-client-certificate = ""
# tls-client-private-key = ""
# tls-ca-root = ""
# [castor]
# enabled = false
# pyworker-addr = ["127.0.0.1:6666"] # format: ip:port
# connect-pool-size = 30 # connection pool to pyworker
# result-wait-timeout = 10 # unit: second
# [castor.detect]
# algorithm = ['BatchDIFFERENTIATEAD','DIFFERENTIATEAD','IncrementalAD','ThresholdAD','ValueChangeAD']
# config_filename = ['detect_base']
# [castor.fit_detect]
# algorithm = ['BatchDIFFERENTIATEAD','DIFFERENTIATEAD','IncrementalAD','ThresholdAD','ValueChangeAD']
# config_filename = ['detect_base']
# [sherlock]
# sherlock-enable = false
# collect-interval = "10s"
# cpu-max-limit = 95
# dump-path = "/tmp"
# [sherlock.cpu]
# enable = false
# min = 30
# diff = 25
# abs = 70
# cool-down = "10m"
# [sherlock.memory]
# enable = false
# min = 25
# diff = 25
# abs = 80
# cool-down = "10m"
# [sherlock.goroutine]
# enable = false
# min = 10000
# diff = 20
# abs = 20000
# max = 100000
# cool-down = "30m"