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

Feature: Spill Index File #17048

Closed
Xuanwo opened this issue Dec 13, 2024 · 1 comment
Closed

Feature: Spill Index File #17048

Xuanwo opened this issue Dec 13, 2024 · 1 comment
Assignees
Labels
A-query Area: databend query C-feature Category: feature

Comments

@Xuanwo
Copy link
Member

Xuanwo commented Dec 13, 2024

Summary

Databend generates numerous temporary files when spilling. Currently, we use list_objects to retrieve the complete list and then call delete_objects, which involves many costly list_objects calls.

Therefore, I propose introducing a spill index file to record all temporary files created. This would allow us to remove them by reading this file's contents instead of using list_objects.

@Xuanwo Xuanwo added the C-feature Category: feature label Dec 13, 2024
@sundy-li sundy-li added the A-query Area: databend query label Dec 13, 2024
@sundy-li sundy-li self-assigned this Dec 13, 2024
@sundy-li
Copy link
Member

introduced in #17125 #17089

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-query Area: databend query C-feature Category: feature
Projects
None yet
Development

No branches or pull requests

2 participants