-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: cluster falls over trying to create 100.000 tables in db #40629
Comments
Hey @ParkJungsuk Just a few questions to start out. I understand that you are running a k8s cluster, but what type of hardware are these pods running on? How are the hardware resources allocated to the said pods? Also, have you tried to drop the concurrency in your script to 1, and ensured that the task can be done at that rate before ramping up? Please let me know if this has been tested in this way. |
Hey @ParkJungsuk just wanted to follow up, could you provide the information that we were requesting referencing the resources and the concurrency? Let me know if you have any questions. |
Closing due to inactivity. If you are still having the issue, please feel free to respond to this thread. We want to help! |
@ricardocrdb I'm going to re-open this but also take it out of your hands. We had an eng discussion yesterday about this very topic and we need an open issue to track. |
We have marked this issue as stale because it has been inactive for |
still current |
This is known and we are working to eliminate this bottleneck. I'm closing this issue because this class of problem is tracked better in subsequent issues like #63206. |
Describe the problem
I tried to create more than 100,000 tables in a single database by some scripts, but seems the cluster crashed.
To Reproduce
What did you do? Describe in your own words.
go.sh:
create_table.sh:
There's also an error message from the UI:
I can see some warnings from the logs but I've no idea what happened:
Environment:
Additional context
What was the impact?
We may need a large number of databases and tables, this is just a test for it.
The text was updated successfully, but these errors were encountered: