You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
1.2 KiB
TOML
80 lines
1.2 KiB
TOML
default_profile = "default"
|
|
display_name = "TiFlash"
|
|
listen_host = "0.0.0.0"
|
|
mark_cache_size = 5368709120
|
|
tmp_path = "/data/tmp"
|
|
path = "/data"
|
|
tcp_port = 9110
|
|
http_port = 8223
|
|
|
|
[flash]
|
|
tidb_status_addr = "tidb:10080"
|
|
service_addr = "tiflash:4030"
|
|
|
|
[flash.flash_cluster]
|
|
cluster_manager_path = "/tiflash/flash_cluster_manager"
|
|
log = "/logs/tiflash_cluster_manager.log"
|
|
master_ttl = 60
|
|
refresh_interval = 20
|
|
update_rule_interval = 5
|
|
|
|
[flash.proxy]
|
|
config = "/tiflash-learner.toml"
|
|
|
|
[status]
|
|
metrics_port = 8234
|
|
|
|
[logger]
|
|
errorlog = "/logs/tiflash_error.log"
|
|
log = "/logs/tiflash.log"
|
|
count = 20
|
|
level = "debug"
|
|
size = "1000M"
|
|
|
|
[application]
|
|
runAsDaemon = true
|
|
|
|
[raft]
|
|
pd_addr = "pd0:2379"
|
|
storage_engine = "tmt"
|
|
|
|
[quotas]
|
|
|
|
[quotas.default]
|
|
|
|
[quotas.default.interval]
|
|
duration = 3600
|
|
errors = 0
|
|
execution_time = 0
|
|
queries = 0
|
|
read_rows = 0
|
|
result_rows = 0
|
|
|
|
[users]
|
|
|
|
[users.default]
|
|
password = ""
|
|
profile = "default"
|
|
quota = "default"
|
|
|
|
[users.default.networks]
|
|
ip = "::/0"
|
|
|
|
[users.readonly]
|
|
password = ""
|
|
profile = "readonly"
|
|
quota = "default"
|
|
|
|
[users.readonly.networks]
|
|
ip = "::/0"
|
|
|
|
[profiles]
|
|
|
|
[profiles.default]
|
|
load_balancing = "random"
|
|
max_memory_usage = 10000000000
|
|
use_uncompressed_cache = 0
|
|
|
|
[profiles.readonly]
|
|
readonly = 1
|