Skip to content

Save memory when date_histogram is not on top (#56921)#56960

Merged
nik9000 merged 1 commit intoelastic:7.xfrom
nik9000:date_histo_mem_7_x
May 19, 2020
Merged

Save memory when date_histogram is not on top (#56921)#56960
nik9000 merged 1 commit intoelastic:7.xfrom
nik9000:date_histo_mem_7_x

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented May 19, 2020

When date_histogram is a sub-aggregator it used to allocate a bunch of
objects for every one of it's parent's buckets. This uses the data
structures that we built in #55873 rework the date_histogram
aggregator instead of all of the allocation.

Part of #56487

When `date_histogram` is a sub-aggregator it used to allocate a bunch of
objects for every one of it's parent's buckets. This uses the data
structures that we built in elastic#55873 rework the `date_histogram`
aggregator instead of all of the allocation.

Part of elastic#56487
@nik9000 nik9000 merged commit 8b9c4eb into elastic:7.x May 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant