VictoriaMetrics/app/vmselect
Aliaksandr Valialkin 33abbec6b4 app/vmselect/promql: adjust memory limits calculations for incremental aggregate functions
Incremental aggregate functions don't keep all the selected time series in memory -
they keep only up to GOMAXPROCS time series for incremental aggregations.

Take into account that the number of time series in RAM can be higher if they are split
into many groups with `by (...)` or `without (...)` modifiers.

This should reduce the number of `not enough memory for processing ... data points` false
positive errors.
2019-11-08 19:37:43 +02:00
..
deployment all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
netstorage app/vmselect/netstorage: hint the OS that tmpBlocksFile is read almost sequentially 2019-09-30 00:13:33 +03:00
prometheus app/vmselect: add -search.latencyOffset flag for tuning the time after data collection when data points become visible in query results 2019-10-28 12:32:36 +02:00
promql app/vmselect/promql: adjust memory limits calculations for incremental aggregate functions 2019-11-08 19:37:43 +02:00
main.go lib/fs: add MustStopDirRemover for waiting until pending directories are removed on graceful shutdown 2019-09-05 11:17:17 +03:00
Makefile all: small updates after PR #114 2019-07-24 17:43:43 +03:00
README.md all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00

vmselect performs the following tasks:

  • Splits incoming selects to tasks for vmstorage nodes and issues these tasks to all the vmstorage nodes in the cluster.

  • Merges responses from all the vmstorage nodes and returns a single response.