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

global sort 120T test seekPropsOffsets performance problems #51639

Closed
lance6716 opened this issue Mar 11, 2024 · 0 comments · Fixed by #51676
Closed

global sort 120T test seekPropsOffsets performance problems #51639

lance6716 opened this issue Mar 11, 2024 · 0 comments · Fixed by #51676

Comments

@lance6716
Copy link
Contributor

Enhancement

When seekPropsOffsets need to handle 2800 files

[reader.go:43] [arguments] [data-file-count=2800] [stat-file-count=2800] [start-key=dIAAAAAAAABoX3IBNzAxMzk2ODj/OTFzSlFORW3/SzE4ckM0Nk//RVY1WFZzYTH/dDFZcGYwQVT/a1kAAAAAAAD5] [end-key=dIAAAAAAAABoX3IBNzAxNDEwOTf/N1ZmbVhBVTf/TENBUjlxYlP/Q1Z0ZjBIOWj/SlRWWU5uVm3/WgAAAAAAAAD4]

The single thread heap-based merge sort becomes bottleneck

image
image

as @wjhuang2016 suggested, we should find a more parallel way to handle it, like readAllData

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant