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

Backup: Inefficient memory usage in the RangeTree, when there are millions of tables. #58587

Closed
3pointer opened this issue Dec 27, 2024 · 1 comment · Fixed by #58591
Closed
Labels
affects-8.1 This bug affects the 8.1.x(LTS) versions. affects-8.5 This bug affects the 8.5.x(LTS) versions. severity/major type/bug The issue is confirmed as a bug.

Comments

@3pointer
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

When using BR to back up millions of tables and statistics, memory usage becomes excessive. A significant memory spike occurs at the start of the stats dump process.
Image

2. What did you expect to see? (Required)

meaningful memory usage.

3. What did you see instead (Required)

Inefficient memory usage

4. What is your TiDB version? (Required)

v8.5

@3pointer 3pointer added the type/bug The issue is confirmed as a bug. label Dec 27, 2024
@3pointer
Copy link
Contributor Author

ref to #51573.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-8.1 This bug affects the 8.1.x(LTS) versions. affects-8.5 This bug affects the 8.5.x(LTS) versions. severity/major type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant