Skip to content

Quick clickbench with a smaller dataset #12455

Open

Description

@Rachelint

Is your feature request related to a problem or challenge?

For measuring the performance improvement of #11827 , some extended queries with more complex udaf(like median, approx_median) + high cardinality group by are needed #12438 .

But I found, such queries can't run successfully to get the result in my local. After debugging, I found it is due to their large intermdiate results which will full memory rapidly, leading to swap or oom...

However, when I run it in a subset with only 15% of the whole clickbench dataset, they can finish successfully and reflect the improvement #11827 (comment)

I think maybe we need a clickbench with the smaller dataset (like tpch 1, tpch 10...) in some situations.

Describe the solution you'd like

Support to generate a samller dataset of the whole clickbench dataset, and we can run queries on it.

Describe alternatives you've considered

No response

Additional context

No response

Activity

  1. alamb commented on Sep 13, 2024

    @alamb
    Contributor

    I would like to troll / 🐟 for improvements: instead of making the benchmark easier, let's spend our time reducing the size of the intermediate state for those aggregates :)

  2. Rachelint commented on Sep 14, 2024

    @Rachelint
    ContributorAuthor

    I would like to troll / 🐟 for improvements: instead of making the benchmark easier, let's spend our time reducing the size of the intermediate state for those aggregates :)

    🤔 Make sense, solving the real problem may be more valuable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions