Commit 98d132a
authored
Reduce resize in rate aggregation (elastic#136734)
Previously, we tried to reduce buffer resizing by over-allocating memory
up to the remaining size of the block when buffering data points for the
rate aggregation. However, we hit a circuit breaker in extreme cases
where there are many time series but few data points per series. This
change attempts to identify as many groups as possible and allocate the
required memory to minimize buffer resizing.1 parent a1d7b8a commit 98d132a
File tree
4 files changed
+204
-176
lines changed- x-pack/plugin/esql/compute/src/main
- generated-src/org/elasticsearch/compute/aggregation
- java/org/elasticsearch/compute/aggregation
4 files changed
+204
-176
lines changedLines changed: 51 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 51 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 51 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments