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

[Improvement]: Full-Optimizing occupies all optimizer resources making other tables' Self-Optimizing hang up #1288

Closed
3 tasks done
wangtaohz opened this issue Mar 28, 2023 · 0 comments · Fixed by #1294
Closed
3 tasks done

Comments

@wangtaohz
Copy link
Contributor

Search before asking

  • I have searched in the issues and found no similar issues.

What would you like to be improved?

Full-Optimizing takes a long time to optimize and occupies all resources, for example, it takes 1h 17min to rewrite ~40G files, making other tables' Self-Optimizing hang up

image

How should we improve?

  1. We should limit the resource occupation for each Self-Optimizing, like limiting the total file size for each plan, a moderate default value may be 5~10G
  2. The big file( file size >= 0.95 target size?) not related to any delete-files should not be rewritten when executing Full-Optimizing

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Subtasks

No response

Code of Conduct

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