-
Notifications
You must be signed in to change notification settings - Fork 409
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
Reduce the number of files to avoid inodes exhausting #7595
Labels
Comments
JinheLin
added
type/enhancement
The issue or PR belongs to an enhancement.
component/storage
labels
Jun 5, 2023
Reducing the number of files of TiFlash can be decomposed into two sub problems.
|
12 tasks
This was referenced Aug 4, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enhancement
There is a case that a customer has more than 40000 tables or partitions.
Each table or partition has about 70 - 80 columns.
Since TiFlash will generate at most 5 files (dat, mrk, null.dat, null.mrk, idx) for each column, it will eventually generate 350 - 400 small files for each table/partition in initialization.
In the end, inodes of ext4 filesystem is exhausted.
The text was updated successfully, but these errors were encountered: