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

unexpectedly long query run time #79

Open
PsiACE opened this issue Jul 4, 2022 · 2 comments
Open

unexpectedly long query run time #79

PsiACE opened this issue Jul 4, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@PsiACE
Copy link
Member

PsiACE commented Jul 4, 2022

Typically, most queries on the ontime dataset can be completed in less than 1 second.

However, in several recent performance tests, some statements may experience severe timeouts, even taking tens of minutes, until jwt expired.

query expected actual history
SELECT DayOfWeek, count(*) AS c FROM default.ontime WHERE DepDelay>10 AND Year >= 2000 AND Year <= 2008 GROUP BY DayOfWeek ORDER BY c DESC; < 0.5s 42min
SELECT IATA_CODE_Reporting_Airline AS Carrier, avg(DepDelay) * 1000 AS c3 FROM default.ontime WHERE Year >= 2000 AND Year <= 2008 GROUP BY Carrier; < 1s > 60min https://github.com/datafuselabs/databend-perf/runs/7172566428?check_suite_focus=true
SELECT IATA_CODE_Reporting_Airline AS Carrier, avg(cast(DepDelay\u003e10 as Int8))*1000 AS c3 FROM default.ontime WHERE Year\u003e=2000 AND Year \u003c=2008 GROUP BY Carrier ORDER BY c3 DESC; <0.5s https://github.com/datafuselabs/databend-perf/runs/7159465292?check_suite_focus=true
@PsiACE PsiACE added the bug Something isn't working label Jul 4, 2022
@PsiACE
Copy link
Member Author

PsiACE commented Jul 4, 2022

It may be necessary to check if there is a scheduling problem, or if there is some other fault with the databend.

@flaneur2020 flaneur2020 self-assigned this Jul 4, 2022
@flaneur2020
Copy link
Member

it looks like these queries get slow again.

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

No branches or pull requests

2 participants