mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs/FAQ.md: describe main reasons for high churn rate
This commit is contained in:
parent
bc79bdf68a
commit
d87414c57c
1 changed files with 7 additions and 0 deletions
|
@ -282,6 +282,13 @@ If old time series are constantly substituted by new time series at a high rate,
|
|||
* Increased size of inverted index, which is stored at `<-storageDataPath>/indexdb`, since the inverted index contains entries for every label of every time series with at least a single ingested sample
|
||||
* Slow down of queries over multiple days.
|
||||
|
||||
The main reason for high churn rate is a metric label with frequently changed value. Examples of such labels:
|
||||
|
||||
* `queryid`, which changes with each query at `postgres_exporter`.
|
||||
* `app_name` or `deployment_id`, which changes with each new deployment in Kubernetes.
|
||||
* A label derived from the current time such as `timestamp`, `minute` or `hour`.
|
||||
* A `hash` or `uuid` label, which changes frequently.
|
||||
|
||||
The solution against high churn rate is to identify and eliminate labels with frequently changed values. The [/api/v1/status/tsdb](https://docs.victoriametrics.com/#tsdb-stats) page can help determining these labels.
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue