VictoriaMetrics/docs/changelog
YuDong Tang 295f2aa8ca
app/vmselect:add command-line flag -search.inmemoryBufSizeBytes (#6869)
add command-line flag `-search.inmemoryBufSizeBytes` for configuring size of in-memory buffers used by vmselect during processing of vmstorage responses. A new summary metric `vm_tmp_blocks_inmemory_file_size_bytes` is exposed to show the size of the buffer during requests processing.

The new setting can be used by experienced users to adjust memory usage by vmselect when processing
many small read requests. Instead of allocating 4MB buffers each time, vmselect can be instructed to lower
the buffer size via `-search.inmemoryBufSizeBytes`. To make the decision whether this flag needs to be adjusted
users can consult with `vm_tmp_blocks_inmemory_file_size_bytes` which shows the actual size of buffers used
during query processing.

----------

The detailed information of this PR can be found in
https://github.com/VictoriaMetrics/VictoriaMetrics/pull/6851

### Checklist

The following checks are **mandatory**:

- [ ] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).

---------

Co-authored-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit cab3ef8294)
2024-08-26 14:48:53 +02:00
..
_index.md docs: move changelog to dir (#6853) 2024-08-21 17:26:54 +02:00
CHANGELOG.md app/vmselect:add command-line flag -search.inmemoryBufSizeBytes (#6869) 2024-08-26 14:48:53 +02:00
CHANGELOG_2020.md docs: move changelog to dir (#6853) 2024-08-21 17:26:54 +02:00
CHANGELOG_2021.md docs: move changelog to dir (#6853) 2024-08-21 17:26:54 +02:00
CHANGELOG_2022.md docs: move changelog to dir (#6853) 2024-08-21 17:26:54 +02:00
CHANGELOG_2023.md docs: move changelog to dir (#6853) 2024-08-21 17:26:54 +02:00