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

more db pool size is needed for br to create many databases #56866

Closed
Leavrth opened this issue Oct 28, 2024 · 1 comment · Fixed by #56867
Closed

more db pool size is needed for br to create many databases #56866

Leavrth opened this issue Oct 28, 2024 · 1 comment · Fixed by #56867
Labels
component/br This issue is related to BR of TiDB. type/enhancement The issue or PR belongs to an enhancement.

Comments

@Leavrth
Copy link
Contributor

Leavrth commented Oct 28, 2024

Enhancement

Currently, BR only has 16 db pools to create databases, and it takes about more than one hour to create 200K databases. However, if BR uses 100 db pools to create databases, it only takes about half an hour to finish create 200K databases.

defaultDDLConcurrency = 16

@Leavrth Leavrth added type/enhancement The issue or PR belongs to an enhancement. component/br This issue is related to BR of TiDB. labels Oct 28, 2024
@princejha95
Copy link

Why we are only thinking till 200K databases ? Would this number can change in future ? If yes, we again have to make similar changes, right ?

ti-chi-bot bot pushed a commit that referenced this issue Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/br This issue is related to BR of TiDB. type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants