Skip to content

groupBy query: limit push down to segment scan is poor performance #9689

@xiangqiao123

Description

@xiangqiao123

Affected Version

0.17.1

Description

When druid-0.17.1 is used, the performance of group by query is worse than druid-0.16.1. When
applylimitpushdowntosegment is set to false in query context, the performance returns to normal.

From this figure, we can see that the CPU consumption is in LimitedBufferHashGrouper.
image

query performance is according to query/time from historical log:
{"query/time":13372,"query/bytes":6118553,"success":true,"identity":"allowAll"}

@himanshug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions