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

Improve query performance for ClickHouse plugin #157

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

ricoberger
Copy link
Member

Instead of just changing the start time for the raw logs query, we are
now running the raw logs query only for buckets which are containing
documents, to improve the query performance for queries which are
returning a low number of documents.

We also improved the performance of the React UI by using the
Intersection Observer API to render the table with the returned log
documents.

Finally we have removed the property to specify the maximum number of
documents and always returning 1000 documents. For that we also removed
the pagination / load more documents logic.

Sorry, something went wrong.

Instead of just changing the start time for the raw logs query, we are
now running the raw logs query only for buckets which are containing
documents, to improve the query performance for queries which are
returning a low number of documents.

We also improved the performance of the React UI by using the
Intersection Observer API to render the table with the returned log
documents.

Finally we have removed the property to specify the maximum number of
documents and always returning 1000 documents. For that we also removed
the pagination / load more documents logic.
@ricoberger ricoberger force-pushed the parallelize-buckets-and-raw-logs-query branch from 3b82e93 to 80fb4a1 Compare September 29, 2021 18:17
@ricoberger ricoberger merged commit cbb875b into main Sep 29, 2021
@ricoberger ricoberger deleted the parallelize-buckets-and-raw-logs-query branch September 29, 2021 18:32
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

Successfully merging this pull request may close these issues.

None yet

1 participant