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 large dense aggregate reads with tile metadata only. #4657

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

KiterLuc
Copy link
Contributor

@KiterLuc KiterLuc commented Jan 23, 2024

The dense reader was creating a bitmap to compute all aggregate results at the top level of the read. For large aggregate reads where we don't need to load any tiles, this could be quite large. It also would turn out to be completely unnecessary. This fix moves the bitmap to the lower level of the read, where a smaller bitmap can be created only if necessary.


TYPE: IMPROVEMENT
DESC: Improve large dense aggregate reads with tile metadata only.

The dense reader was creating a bitmap to compute all aggregate results at the top level of the read. For large aggregate reads where we don't need to load any tiles, this could be quite large. It also would turn out to be completely unnecessary. This fix moves the bitmap to the lower level of the read, where a smaller bitmap can be created only if necessary.

---
TYPE: IMPROVEMENT
DESC: Improve large aggregate reads with tile metadata.
@KiterLuc KiterLuc requested a review from davisp January 23, 2024 10:47
@KiterLuc KiterLuc changed the title Improve large aggregate reads with tile metadata. Improve large dense aggregate reads with tile metadata. Jan 23, 2024
@KiterLuc KiterLuc changed the title Improve large dense aggregate reads with tile metadata. Improve large dense aggregate reads with tile metadata only. Jan 23, 2024
Copy link
Contributor

@davisp davisp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@KiterLuc KiterLuc merged commit 598e84e into dev Jan 23, 2024
67 checks passed
@KiterLuc KiterLuc deleted the lr/large-dense-aggregate-perf-fix branch January 23, 2024 16:56
github-actions bot pushed a commit that referenced this pull request Jan 23, 2024
The dense reader was creating a bitmap to compute all aggregate results
at the top level of the read. For large aggregate reads where we don't
need to load any tiles, this could be quite large. It also would turn
out to be completely unnecessary. This fix moves the bitmap to the lower
level of the read, where a smaller bitmap can be created only if
necessary.

---
TYPE: IMPROVEMENT
DESC: Improve large dense aggregate reads with tile metadata only.

(cherry picked from commit 598e84e)
github-actions bot pushed a commit that referenced this pull request Jan 23, 2024
The dense reader was creating a bitmap to compute all aggregate results
at the top level of the read. For large aggregate reads where we don't
need to load any tiles, this could be quite large. It also would turn
out to be completely unnecessary. This fix moves the bitmap to the lower
level of the read, where a smaller bitmap can be created only if
necessary.

---
TYPE: IMPROVEMENT
DESC: Improve large dense aggregate reads with tile metadata only.

(cherry picked from commit 598e84e)
KiterLuc added a commit that referenced this pull request Jan 23, 2024
… metadata only. (#4661)

Backport 598e84e from #4657.

Co-authored-by: KiterLuc <67824247+KiterLuc@users.noreply.github.com>
KiterLuc added a commit that referenced this pull request Jan 23, 2024
… metadata only. (#4662)

Backport 598e84e from #4657.

Co-authored-by: KiterLuc <67824247+KiterLuc@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants