-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
File Handling Scalability Improvements #18722
Comments
@butonic please like your issue regarding alternative DB design for the filecache in here. Thx |
Please note that a different DB design here will result in a hugh migration step! I once more cry for proper migrations! |
@karlitschek looking at this for the filecache research as an example. |
This issue description has a few links. Other implementation alternatives are mentioned in a PR by icewind. I do have an initial branch that returns to a simple adjacency list, dropping path_hash and path from the filecache. It does of course cause multiple queries to the table to resolve the file id for a path. however I do not consider that a big problem because SELECT can easily be scaled by caching or adding more DB slaves. Scaling updates is much harder IMO. The POC breaks sharing because it does a few joins with the filecache ... so I stopped looking into it until sharing is in a better shape ... and because, as @DeepDiver1975 correctly cried for: we need a more robust migraton. Until then I hope we can get some more traction behind investigating the scalability of storing hierarchical data in a relational database. The best approach might be to use DB specific implementations for this. Might is the key here. We need a test scenario to measure against. |
@icewind1991 @nickvergessen @schiesbn in Berlin we also had a discussion about adding a "mount points" table that could significantly improve performance, was there a ticket for that ? |
Placeholder to discuss mechanisms for file handling performance improvemenents.
The text was updated successfully, but these errors were encountered: