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

✨ [CLICKBENCH] Very Slow Query #2230

Open
joocer opened this issue Jan 10, 2025 · 1 comment
Open

✨ [CLICKBENCH] Very Slow Query #2230

joocer opened this issue Jan 10, 2025 · 1 comment

Comments

@joocer
Copy link
Contributor

joocer commented Jan 10, 2025

SELECT * FROM hits WHERE URL LIKE '%google%' ORDER BY EventTime LIMIT 10;

This query performs a lot slower than other engines.

I'm not sure how they would achieve the performance they do.

@joocer
Copy link
Contributor Author

joocer commented Jan 17, 2025

Some improvement but by rewriting the LIKE condition, this query was running in 75 seconds to 52 seconds.

More improvement is needed, but this is a significant reduction in execution.

joocer added a commit that referenced this issue Jan 23, 2025
joocer added a commit that referenced this issue Jan 24, 2025
joocer added a commit that referenced this issue Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant