Skip to content
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

bug: nexmark q4 performance degrade #6619

Closed
Tracked by #6640 ...
KeXiangWang opened this issue Nov 28, 2022 · 3 comments
Closed
Tracked by #6640 ...

bug: nexmark q4 performance degrade #6619

KeXiangWang opened this issue Nov 28, 2022 · 3 comments
Assignees
Labels
type/bug Something isn't working

Comments

@KeXiangWang
Copy link
Contributor

Describe the bug

When running we can observe the performance degrade with time.
Here's the sql of nexmark q4

    CREATE MATERIALIZED VIEW nexmark_q4
    AS
    SELECT Q.category,
           AVG(Q.final) as avg
    FROM (SELECT MAX(B.price) AS final,
                 A.category
          FROM auction A,
               bid B
          WHERE A.id = B.auction
            AND B.date_time BETWEEN A.date_time AND A.expires
          GROUP BY A.id, A.category) Q
    GROUP BY Q.category;

The performance decreasing happens on the join fragment.
The auction field of Bid has fixed access patterns instead of random accessing. It only be the recent auction ids. So the cache miss rate should not be high. Ideally the performance should not degrade with data accumulated.

To Reproduce

Just run it for long.

Expected behavior

No response

Additional context

No response

@KeXiangWang KeXiangWang added the type/bug Something isn't working label Nov 28, 2022
@github-actions github-actions bot added this to the release-0.1.15 milestone Nov 28, 2022
@fuyufjh
Copy link
Member

fuyufjh commented Nov 29, 2022

How about the barrier latency? #6571 looks similar to this.

@KeXiangWang
Copy link
Contributor Author

Yes, look similar. The root causes may be the same.

@fuyufjh
Copy link
Member

fuyufjh commented Dec 19, 2022

After #6571 was fixed, there seems no obvious performance degrading during my test. Please help to check it as well when you are idle @KeXiangWang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants