-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Benchmark for date_histo with one bucket #165
Conversation
This adds a benchmark for `date_histogram` when a single bucket covers the entire index. We expect this to be quite common for buckets with a size near a day. Its fairly common for folks to use "daily" indices that contain *about* a day's worth of data. That day isn't likely to line up *exactly* with daily buckets. But for buckets marginally larger than a day and for indices even a little smaller than a day I think it'll be quite common.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
@nik9000 will merge this on Monday (typically we won't merge track changes on Fri to prevent chances of broken nightlies during the weekend). Question: how far back should this be backported? |
Thanks! |
@nik9000 regarding backporting, how far back can this go? |
It can run as far back as you'd like. I likey won't run it on old branches
though. The code should work on most versions of es after .say, 1.0.
…On Mon, Apr 5, 2021, 03:27 Dimitrios Liappis ***@***.***> wrote:
@nik9000 <https://github.com/nik9000> regarding backporting, how far back
can this go?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#165 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABUXIWOTWCJ2OKKQMVQDCLTHFQ75ANCNFSM42HBW6QQ>
.
|
Do you mean after |
I mean its safe to backport it as far as you like. But 7.12 is certainly far enough for me. 7.13 even. |
This adds a benchmark for `date_histogram` when a single bucket covers the entire index. We expect this to be quite common for buckets with a size near a day. Its fairly common for folks to use "daily" indices that contain *about* a day's worth of data. That day isn't likely to line up *exactly* with daily buckets. But for buckets marginally larger than a day and for indices even a little smaller than a day I think it'll be quite common.
Backported to 7.12 using 11cee00 |
Thanks! |
This adds a benchmark for
date_histogram
when a single bucket coversthe entire index. We expect this to be quite common for buckets with a
size near a day. Its fairly common for folks to use "daily" indices that
contain about a day's worth of data. That day isn't likely to line up
exactly with daily buckets. But for buckets marginally larger than a
day and for indices even a little smaller than a day I think it'll be
quite common.
Benchmark for elastic/elasticsearch#71180