-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
Description
I was looking at a slow query where removing the timezone option made the query 4x faster: 8s on average without the time_zone parameter and 32s on average with a time_zone.
This query filters one week of data in February with Europe/Berlin as a timezone (so all documents are on the same side of the daylight saving time boundary) and there are more than 1B matches.
Can we speed this up?
For the record this is less of an issue for timezones that do not implement daylight savings, so users might want to consider switching to Etc/GMT-1 instead of Europe/Berlin if that works for them.
cc @elastic/es-search-aggs
mac-p, timroes and ToToL