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

feat(tsi): optimize series iteration #22519

Merged
merged 1 commit into from
Sep 20, 2021

Conversation

danxmoran
Copy link
Contributor

Closes #22518

Backports #22316

When using queries like 'select count(_seriesKey) from bigmeasurement`, we
should iterate over the tsi structures to serve the query instead of loading
all the series into memory up front.

Co-authored-by: Sam Arnold <sarnold@influxdata.com>
@danxmoran danxmoran merged commit 16ba966 into 2.0 Sep 20, 2021
@danxmoran danxmoran deleted the dm-backport-optimize-series-iteration-22518 branch September 20, 2021 17:27
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.

2 participants