mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-15 04:20:39 +00:00
* refactor: customize standalone instance build Signed-off-by: luofucong <luofc@foxmail.com> * resolve PR comments Signed-off-by: luofucong <luofc@foxmail.com> --------- Signed-off-by: luofucong <luofc@foxmail.com>
49 lines
838 B
Plaintext
49 lines
838 B
Plaintext
mode = 'standalone'
|
|
enable_memory_catalog = false
|
|
require_lease_before_startup = true
|
|
|
|
[[region_engine]]
|
|
[region_engine.mito]
|
|
{{ if enable_flat_format }}
|
|
default_experimental_flat_format = true
|
|
{{ endif }}
|
|
|
|
[wal]
|
|
{{ if is_raft_engine }}
|
|
provider = "raft_engine"
|
|
file_size = '1GB'
|
|
purge_interval = '10m'
|
|
purge_threshold = '10GB'
|
|
read_batch_size = 128
|
|
sync_write = false
|
|
{{ else }}
|
|
provider = "kafka"
|
|
broker_endpoints = {kafka_wal_broker_endpoints | unescaped}
|
|
{{ endif }}
|
|
|
|
[storage]
|
|
type = 'File'
|
|
data_home = '{data_home}'
|
|
|
|
[grpc]
|
|
bind_addr = '{addrs.grpc_addr}'
|
|
runtime_size = 8
|
|
|
|
[mysql]
|
|
enable = true
|
|
addr = "{addrs.mysql_addr}"
|
|
runtime_size = 2
|
|
prepared_stmt_cache_size= 10000
|
|
|
|
[mysql.tls]
|
|
mode = "disable"
|
|
|
|
[postgres]
|
|
enable = true
|
|
addr = "{addrs.postgres_addr}"
|
|
runtime_size = 2
|
|
|
|
[procedure]
|
|
max_retry_times = 3
|
|
retry_delay = "500ms"
|