You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Discover page of OSD, when executing a PPL query against an index pattern containing very huge data(about 750B documents), the query latency of PPL is much more than the latency of the similar query in DQL, which is one hundred seconds vs. seconds.
The PPL is: source = index* | where @timestamp>= '2025-03-25 03:31:32' and@timestamp<= '2025-04-09 03:31:32' | stats count() by span(@timestamp, 12h),
Uh oh!
There was an error while loading. Please reload this page.
What is the bug?
In Discover page of OSD, when executing a PPL query against an index pattern containing very huge data(about 750B documents), the query latency of PPL is much more than the latency of the similar query in DQL, which is one hundred seconds vs. seconds.
The PPL is:
source = index* | where
@timestamp>= '2025-03-25 03:31:32' and
@timestamp<= '2025-04-09 03:31:32' | stats count() by span(@timestamp, 12h)
,and the similar query DSL is:
.
I see PPL will convert the span query to a composite aggregation, like this:
, seems composite aggregation is slower than the date histogram aggregation.
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
PPL should improve the performance.
What is your host/environment?
OpenSearch 3.0.0
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: