diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 2097f29e2..51aff12e3 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -101,6 +101,7 @@ Released at 2023-11-15 - [`max_over_time`](https://docs.victoriametrics.com/MetricsQL.html#max_over_time) - [`min_over_time`](https://docs.victoriametrics.com/MetricsQL.html#min_over_time) - [`rate`](https://docs.victoriametrics.com/MetricsQL.html#rate) + The optimization is enabled when these functions contain lookbehind window in square brackets bigger or equal to `6h` (the threshold can be changed via `-search.minWindowForInstantRollupOptimization` command-line flag). The optimization improves performance for SLO/SLI-like queries such as `avg_over_time(up[30d])` or `sum(rate(http_request_errors_total[3d])) / sum(rate(http_requests_total[3d]))`, which can be generated by [sloth](https://github.com/slok/sloth) or similar projects. * FEATURE: `vmselect`: improve query performance on systems with big number of CPU cores (`>=32`). Add `-search.maxWorkersPerQuery` command-line flag, which can be used for fine-tuning query performance on systems with big number of CPU cores. See [this pull request](https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5195). * FEATURE: `vmselect`: expose `vm_memory_intensive_queries_total` counter metric which gets increased each time `-search.logQueryMemoryUsage` memory limit is exceeded by a query. This metric should help to identify expensive and heavy queries without inspecting the logs.